Re: Auth extension for GET login

From: Date: Mon, 27 Mar 2006 02:04:12 +0000
Subject: Re: Auth extension for GET login
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23458@lists.php.net to get a copy of this message
On Fri, 2006-03-24 at 17:41 +0100, Massimiliano Arione wrote: > I need to have an authentication based on a GET login. > I tried to extend Auth class, like suggested inside the code (about line > 420: "If you wish to use another source apart from > $HTTP_POST_VARS/$_POST, you have to derive this function") > > So I did this: > <snip> > Is this correct? > > I have some problems: it seems that session works on first page, but > fails on subsequent pages, when the user is supposed to be already > authenticated. > Your code looks good and should work. You should check to make sure the session and cookies are getting set correctly as that is how Auth passes the logged in state from one page to another. Adam

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.pear.general (#23458) next »