Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Bug - Cache issue?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug - Cache issue?

 Post Reply Post Reply
Author
jatchoum.ca View Drop Down
Newbie
Newbie


Joined: 10 February 2003
Location: Canada
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote jatchoum.ca Quote  Post ReplyReply Direct Link To This Post Topic: Bug - Cache issue?
    Posted: 05 March 2003 at 10:32pm

Im talking about beta 3 here

this is weird, Im sure everything was working fine before..

When going to a forum, the page will not display the right info (looks like old info). If I right click on the page, I get all the latest post etc... but if I come back later, its the same issue...

So I notice the buffering options is there, cache-no chache......

Im wondering if anyone else is having this issue ? or if anyone else got an Idea how to resolve this?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 06 March 2003 at 5:19am

Make sure you are not using a proxy server.

Back to Top
jatchoum.ca View Drop Down
Newbie
Newbie


Joined: 10 February 2003
Location: Canada
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote jatchoum.ca Quote  Post ReplyReply Direct Link To This Post Posted: 06 March 2003 at 10:17am

Almost everyone are using Router.

Including me, but im not using a Proxy server, just a router. I have to check with my hosting compagny if they are using one...

If they do, what is the next step?

 

 

Back to Top
jatchoum.ca View Drop Down
Newbie
Newbie


Joined: 10 February 2003
Location: Canada
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote jatchoum.ca Quote  Post ReplyReply Direct Link To This Post Posted: 06 March 2003 at 11:05am

Well here is what I did, and it seem to work fine.

I replaced this code:

'Make sure this page is not cached

'Response.Expires = 0

'Response.ExpiresAbsolute = Now() - 2

'Response.AddHeader "pragma","no-cache"

'Response.AddHeader "cache-control","private"

'Response.CacheControl = "private"

for this:

 

Response.Expires = -100000

Response.AddHeader"Pragma","No-Cache"

Response.AddHeader"Cache-control","No-Store"

Back to Top
jatchoum.ca View Drop Down
Newbie
Newbie


Joined: 10 February 2003
Location: Canada
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote jatchoum.ca Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2003 at 1:31am

The above code didnt work on all pc, dont ask me why...

anyway, by adding this ON THE TOP OF THE FORUM_POST.ASP adn FORUM_TOPIC.ASP it fixed all our problems:

<% Response.CacheControl = "no-cache" %>

<% Response.AddHeader "Pragma", "no-cache" %>

<% Response.Expires = -1 %>

THe ISP added something like gzip or whaever caching program... but with that code on TOP, there is no issues...

Back to Top
boyohboy View Drop Down
Groupie
Groupie


Joined: 15 October 2002
Location: United States
Status: Offline
Points: 197
Post Options Post Options   Thanks (0) Thanks(0)   Quote boyohboy Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2003 at 12:58pm
set the meta htm tag to refresh
Visit my community website @
EverythingVIET.com
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.