Re: expiring pages with mod_perl
Jamie Krasnoo wrote: Sorry for the newbie question but could anyone tell me how to expire pages so a user can't use the back button to get back to that page? There is a good summary here: http://www.pacificnet.net/~johnr/meta.html Note the failure of IE4 to follow basic Pragma syntax (and their workarounds). In my experience, IE4 and IE5 - under certain circumstances - still seem to cache stuff at will. Regards Andreas -- | Andreas Schiffler [EMAIL PROTECTED] | | Senior Systems Engineer - Deskplayer Inc., Buffalo | | 4707 Eastwood Cres., Niagara Falls, Ont L2E 1B4, Canada | | +1-905-371-3652 (private) - +1-905-371-8834 (work/fax) |
expiring pages with mod_perl
Sorry for the newbie question but could anyone tell me how to expire pages so a user can't use the back button to get back to that page? Thanks, Jamie
Re: expiring pages with mod_perl
On Sun, 20 Aug 2000, Jamie Krasnoo wrote: Sorry for the newbie question but could anyone tell me how to expire pages so a user can't use the back button to get back to that page? Besides being a really bad idea, and next to impossible to implement, this is not a mod_perl question, but a HTML/HTTP question. Once you've figured those bits out you just need $r-header_out(), but its going to be much harder than that. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org | AxKit: http://axkit.org
Re: expiring pages with mod_perl
use my $headers = $r-headers_out; $headers-{'Pragma'} = $headers-{'Cache-control'} = 'no-cache'; $r-no_cache(1); for more information see http://perl.apache.org/guide/correct_headers.html#2_1_3_Expires_and_Cache_Control On Sun, 20 Aug 2000, Jamie Krasnoo wrote: Sorry for the newbie question but could anyone tell me how to expire pages so a user can't use the back button to get back to that page? Thanks, Jamie
Re: expiring pages with mod_perl
[EMAIL PROTECTED] (Jamie Krasnoo) wrote: Sorry for the newbie question but could anyone tell me how to expire pages so a user can't use the back button to get back to that page? Check this out: http://perl.apache.org/guide/correct_headers.html Short answer: $r-no_cache(1);