Update to the info below,
when I hit "view source" I don't see the http headers in IE. However, they
are being generated - so they're either being stripped out by my servee
(unlikely) or IE doesn't show them (hmmm). Either way, IE is still caching
pages I set to expire yesterday...

-----Original Message-----
From: Stephen.Hurley [mailto:[EMAIL PROTECTED]]
Sent: 22 February 2002 17:14
To: '[EMAIL PROTECTED]'
Subject: Problem with caching/expiry


Hi all,

I'm trying to stop browsers from caching a page that I'm using CGI.pm to
output. According to what I've read about CGI.pm, the way I do this is with:

print header(-expires=>'-1d');

.....which sends a header that says the page expired yesterday (and needs to
be reloaded). However, the page still gets cached - and when I hit "View
Source" I can't see any evidence that the header has been changed for the
file I'm outputting. Which means that the -expires part of the line above is
being completely ignored. Since CGI.pm is well tested, I'd consider this
fairly unlikely...

Any ideas ?

Steve.

/.
Stephen Hurley,
Room CS2-034,
IDC, University Of Limerick.

P. 087-6701459
E. [EMAIL PROTECTED]
A. Apt.10, Charlotte Q, Limerick City.

"I'm not a conspiracy theorist, but there are people here who are trying to
make me look like one..."

.../

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to