perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: is_intial_req
Date Tue, 01 Nov 2005 15:17:53 GMT

> Why is is_initial_req consistently 0 for logout and
> consistently 1 for logout2...

besides the existing conversation, you need to remember what is_initial_req
means - it means that this is the request as it came straight from the
browser and wasn't redirected at all.  if apache made an internal redirect
from /logout to /logout/ that would make is_initial_req false.

so, try playing around with trailing slashes and making sure that your
requests are in fact equivalent (that you're not asking for /logout one time
and /logout/index.html the next, for example).

HTH

--Geoff

Mime
View raw message