Forum Moderators: open
I changed the script to redirect someplace else, but IE cached the 302 response, and isn't pulling the new header info from the script (as it should...I don't see why it should cache something like this).
Browser related nightmares are NOT my forte, anybody have any ideas on how to force IE not to cache my script header?
1) can't switch broswers
2) need IE to stop caching the header from the script.
Any help greatly appreciated.
Back to debugging on the original server, anyway -> I ended up porting the script to another location on the 2nd server, this time remembering to reconfigure it before checking it in the browser, and I still got the erros I expected from running it on the first (original) server. :(
I hate debugging - thanks for the help.
Something like this: script.pl?cachehack=12345
and just vary the 12345 to whatever.. everytime u want to have fresh headers.
If you already have something in the query string, then just add it with &
Something like this: script.pl?yourname=yourvalue&cachehack=12345
Hope that helps.
>>>add a rand value
That didn't work, either :( Going to check with some network folks here to see if there is an issue with our coporate set up that would cache a response like that too.
You can have your script add a cache-control header to the response, or you can set up the server to do it. Either way, the header should be 'Cache-Control: "no-cache, must-revalidate"' to prevent this problem.
Changing you internet settings to force IE to get the page from the server every time is a quick-fix, but won't prevent your users from having the same problem you're having. The setting is under: Internet Options->Temporary Internet files->Settings->Check for newer version of stored pages: Every visit to the page
Jim