legLess has asked for the wisdom of the Perl Monks concerning the following question:
And when called from the shell it prints, as expected:print header( -type => 'text/html', -expires => 'now' );
But when I run the program in a browser, it doesn't at all do what I expect. Now, maybe that's the problem: what I want is for the page to expire and, instead of showing a cached version when the user hits "Back" or "Forward," actually call and run the program again. What the browser (multiple browsers on multiple platforms) does is politely scroll back and forth through its history.Expires: Thu, 07 Mar 2002 17:19:12 GMT Date: Thu, 07 Mar 2002 17:19:12 GMT Content-Type: text/html; charset=ISO-8859-1
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Expiring CGI pages
by dws (Chancellor) on Mar 07, 2002 at 17:35 UTC | |
by legLess (Hermit) on Mar 07, 2002 at 20:42 UTC | |
by seattlejohn (Deacon) on Mar 08, 2002 at 03:25 UTC | |
Re: Expiring CGI pages
by strat (Canon) on Mar 07, 2002 at 17:33 UTC | |
by merlyn (Sage) on Mar 07, 2002 at 19:14 UTC | |
by strat (Canon) on Mar 07, 2002 at 19:21 UTC | |
by merlyn (Sage) on Mar 07, 2002 at 19:26 UTC | |
by strat (Canon) on Mar 07, 2002 at 19:30 UTC | |
Re: Expiring CGI pages
by perrin (Chancellor) on Mar 07, 2002 at 20:20 UTC | |
by legLess (Hermit) on Mar 07, 2002 at 20:29 UTC | |
by perrin (Chancellor) on Mar 07, 2002 at 20:58 UTC |