CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Need a Warning: Page Expired



Nov 2, 2001, 2:54 AM

Post #1 of 1 (740 views)
Need a Warning: Page Expired Can't Post

Hi there.

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.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives