I'm experiencing some weirdness:

My front page links to a login page for users that aren't currently 
logged in.  The login page processes QueryString and Form data if 
they exist.  The login form submits to itself and forwards to the 
front page on a successful login.  It also forwards to the front page 
if the user is already logged in.  The front page displays a logout 
link for users who are already logged in.

Unfortunately, when the login link is followed and then the form 
submitted, the form data appears to be discarded.  This does not 
happen when the login page is navigated to directly by typing the 
URL, only when a link is followed, suggesting it might be linked 
somehow to HTTP_REFERRER.

If a user logs in successfully, then logs out, then follows the login 
link from the front page again, the login page acts as if it just 
received the previous (successful) form submission and logs the user 
in without a new form submission, but the Form object should really 
be empty at this point since this Request originates from a simple 
hyperlink.

Here's the kicker:  I can make everything behave perfectly by simply 
`touch`ing the login page immediately before submitting its form or 
following the login link.  Something seems to be associating Requests 
for files with their accompanying data and binding so tightly that 
new Requests for the same files can't erase or replace the original 
data.  Updating the files' timestamps forces proper behavior though.

I really like Apache::ASP, but this has been frustrating.  I could 
probably get around it by using a login processor page, but that 
seems clumsy.

I don't know whether the OS / etc. makes any difference, but it's 
FreeBSD 4.6 / Apache 1.3.26 / mod_perl 1.2.7

thanks for any help.

-dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to