Nov 2, 2001, 2:54 AM
Post #1 of 1
Need a Warning: Page Expired
Sometimes I see a 'Page has been expired' warning in MS IE5.
How can my script tell the browser the page expires when you return to it?
I've tried these things from the CGI module:
CGI::cache(1); # prints pragma: no-cache and date/expires fields
print header(-expires -> 'now'); # prints date/expires fields.
P.S. don't use them both in the same script. The date/expires fields get printed out twice which results to a 500 error on most webservers.