Re: Auth not working properly when loading new page, and you need to be authed

From: Date: Mon, 20 Jun 2005 08:37:21 +0000
Subject: Re: Auth not working properly when loading new page, and you need to be authed
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19692@lists.php.net to get a copy of this message
On 6/19/05, Torbjørn Amundsen <torbjoam@stud.ntnu.no> wrote: > Hi! > > Im using AUTH 2.1.3 DB 1.7.5 PEAR 1.3.5. > > I have this odd problem which I cant identify. Everything is working > fine except for one thing. Im using two frames (yes, I too dont like > frames, but...). In one of the them there are links that show up only > when $session->getAuth() is true. I login, the links show up, but when I > click the links to load a page into the other frame (which checks if you > are logged in), I only get the internal login again. Then if I reload > page, and click the link again, everything is fine. Does anyone know > what causes this? I tried to look at earlier posts, but I couldnt find > anything similar. Please help me as Ive been stuck with this problem for > a couple of weeks... :-\ > I suggest: If the user is not authed, redirect to a non-frames login page. Then upon login redirect back to the frames. -- Justin Patrin

« previous php.pear.general (#19692) next »