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 <[EMAIL PROTECTED]> 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: http://www.nabble.com/asynchronous-perl-authentication%21--tf3860218.html#a10984730 Sent from the mod_perl - General mailing list archive at Nabble.com.