perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Tistler <>
Subject Re: asynchronous perl authentication!?
Date Wed, 06 Jun 2007 08:49:58 GMT

Even if you use AJAX, the page will still refresh because the AuthCookie
module's authentication method redirect's you back to the login page so that
the session cookie can be checked.  You might be able to get around that by
overloading the authentication method using a subrequest instead of a
redirect, although I am not entirely sure that will work.

Scott Gifford wrote:
> _spitFIRE <> writes:
>> Hi All,
>>   I have written a simple perl module (using apache authcookie) for
>> authenticating users. However, whenever the user types a wrong password,
>> the entire page refreshes. Is it possible to do a ajax style
>> authentication
>> here??? I'm sorry if my understanding is seriously flawed (I'm still
>> learning!). I would basically like to stop the entire page getting
>> refreshed and have the normal ajax style login here; is that possible?
> This would have to happen on the client in Javascript.  I've never
> done it, but it seems likely to be possible; a Javascript forum might
> have more knowledgeable users (or you may get lucky here!)
> Good luck,
> ----Scott.

View this message in context:
Sent from the mod_perl - General mailing list archive at

View raw message