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]

Reply via email to