You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Louis-David Mitterrand <cu...@apartia.ch> on 2000/11/07 17:09:19 UTC

modperl workaround for bug in netscape-4.7x with Expires: headers?

Hello,

When sending a POST request netscape-4.7 still caches the page and
doesn't return the updated page with the POST results.

In which mod_perl *handler would it be more appropriate to insert code
to the effect that:

if ($r->uri =~ /login/) {
	$r->no_cache(1)
}

This is to override the DefaultExpires directive on certain pages with
forms.

Thanks in advance,

-- 
Louis-David Mitterrand - ldm@apartia.org - http://www.apartia.org

How's my posting?  Call 1-800-DEV-NULL