Author |
Topic |
leek
Starting Member
17 Posts |
Posted - 09 January 2006 : 08:41:56
|
I am using the snitz forum with win2003 server, IIS6 and NT authentication and am having a problem. The pages seem to be cached, such that when i go into a topic that i have recently changed it has the previous version on it?! Also if i go into the admin options and say change the font size they aren't changed until i press the F5 button. Anyone have a clue?? P.S. I use a non-caching proxy. P.P.S. Sorry for being a right n00b and double posting! |
Edited by - leek on 09 January 2006 08:43:21 |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
leek
Starting Member
17 Posts |
Posted - 09 January 2006 : 09:35:58
|
I am using IE6. I just have to be constantly aware of pressing F5. Otherwise i'm not viewing the correct and most up-to-date page. In my temporary internet folder options i have it always looking for newer versions of stored pages (but doesn't seem to help). I have inserted the code below to see if it would help but am a total n00b at asp so am uncertain if it would work if it wasn't within the header?! It doesn't seem to help.
<% Response.CacheControl = "no-cache" %> <% Response.AddHeader "Pragma", "no-cache" %> <% Response.Expires = -1 %> |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 09 January 2006 : 09:42:21
|
in IE look under
Tools|Internet Options then in the "Temporary Internet Files" section click the "settings.." button then set "check for newer versions....." option to check on every visit |
|
|
leek
Starting Member
17 Posts |
Posted - 09 January 2006 : 09:47:16
|
quote: In my temporary internet folder options i have it always looking for newer versions of stored pages
Sorry Tried that doesn't seem to work. Any other suggestions? |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
leek
Starting Member
17 Posts |
Posted - 09 January 2006 : 10:18:08
|
Sorry, yes, sort of. I had already done HuwR's suggestion. But was greatful for his input nonetheless. |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 09 January 2006 : 11:02:43
|
Well, if the pages are set to expire and if IE is set to look for newer pages every time, unless you have a proxy somewhere caching the pages, I don't see what could be causing that. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
leek
Starting Member
17 Posts |
Posted - 10 January 2006 : 06:50:23
|
Thanks everyone for your input, but i've managed to sort it out. I needed to put into every asp page the code below. It needed to be placed at the top AND bottom of the page. Everything now works fine. Thanks
<head> <% Response.CacheControl = "no-cache" %> <% Response.AddHeader "Pragma", "no-cache" %> <% Response.Expires = -1 %> </head>
|
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
leek
Starting Member
17 Posts |
|
leek
Starting Member
17 Posts |
Posted - 10 January 2006 : 10:52:31
|
Um, actually Podge what code would i have to put in place? Tried just copying and pasting the code i had above and it just wouldn't display anything? |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
leek
Starting Member
17 Posts |
Posted - 10 January 2006 : 11:24:55
|
Thanks Podge! Worked a treat! |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
Topic |
|