Print Page | Close Window

Bug - Cache issue?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=763
Printed Date: 29 March 2026 at 3:06pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Bug - Cache issue?
Posted By: jatchoum.ca
Subject: Bug - Cache issue?
Date 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?




Replies:
Posted By: WebWiz-Bruce
Date Posted: 06 March 2003 at 5:19am

Make sure you are not using a proxy server.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jatchoum.ca
Date 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?

 

 



Posted By: jatchoum.ca
Date 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"



Posted By: jatchoum.ca
Date 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...



Posted By: boyohboy
Date Posted: 07 March 2003 at 12:58pm
set the meta htm tag to refresh

-------------
Visit my community website @
http://www.everythingviet.com - EverythingVIET.com



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net