Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Authentication: NT
 Pages Being Cached Somewhere?!
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

leek
Starting Member

17 Posts

Posted - 09 January 2006 :  08:41:56  Show Profile
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

Posted - 09 January 2006 :  09:18:42  Show Profile  Send ruirib a Yahoo! Message
Maybe the issue is with your browser. What browser are you using?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

leek
Starting Member

17 Posts

Posted - 09 January 2006 :  09:35:58  Show Profile
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 %>
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 09 January 2006 :  09:42:21  Show Profile  Visit HuwR's Homepage
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
Go to Top of Page

leek
Starting Member

17 Posts

Posted - 09 January 2006 :  09:47:16  Show Profile
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?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 09 January 2006 :  10:13:29  Show Profile  Send ruirib a Yahoo! Message
You mean you tried HuwR's suggestion?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

leek
Starting Member

17 Posts

Posted - 09 January 2006 :  10:18:08  Show Profile
Sorry, yes, sort of. I had already done HuwR's suggestion. But was greatful for his input nonetheless.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 09 January 2006 :  11:02:43  Show Profile  Send ruirib a Yahoo! Message
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
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 09 January 2006 :  11:55:21  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
quote:
P.S. I use a non-caching proxy


I would double check your proxy settings if only to rule that out. I think it may be an IIS issue. I know that pages requested by authenticated users go into the user-mode cache in IIS instead of the kernel cache. I've never had cause to use it so I don't know how to disable it. You can find out a bit about IIS 6.0 caching here - http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/webapp/iis/iis6perf.mspx

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

leek
Starting Member

17 Posts

Posted - 10 January 2006 :  06:50:23  Show Profile
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>
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 10 January 2006 :  08:10:34  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Could you not just put it in inc_header.asp & inc_footer.asp ?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

leek
Starting Member

17 Posts

Posted - 10 January 2006 :  09:01:42  Show Profile
Ah nuts! Yes i could have! What was i thinking!

Also found the link below handy as i hadn't sorted my IIS properly (total N00B!)

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=59868&SearchTerms=rename,forum,folder
Thanks everyone

Edited by - leek on 11 January 2006 03:48:12
Go to Top of Page

leek
Starting Member

17 Posts

Posted - 10 January 2006 :  10:52:31  Show Profile
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?
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 10 January 2006 :  11:04:40  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
In both the header & footer files html is converted into response.write format so it would look something like this;


Response.write("Response.CacheControl = ""no-cache""" & VbCrLf & _ 
               "Response.AddHeader ""Pragma"", ""no-cache""" & VbCrLf & _ 
               "Response.Expires = -1" & VbCrLf


The above code is untested so there may be errors. I think that putting it somewhere between the <head></head> tags in inc_header.asp should be enough.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

leek
Starting Member

17 Posts

Posted - 10 January 2006 :  11:24:55  Show Profile
Thanks Podge! Worked a treat!
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 10 January 2006 :  13:36:05  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
You're welcome.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07