RE: [Phplib-users] Another auth peculiarity
Brought to you by:
nhruby,
richardarcher
|
From: Rob H. <rob...@ws...> - 2002-10-09 18:16:24
|
> -----Original Message-----
> From: php...@li...
> [mailto:php...@li...]On Behalf Of Giancarlo
> Sent: Wednesday, October 09, 2002 1:51 PM
> To: phplib-users
> Subject: Re: [Phplib-users] Another auth peculiarity
>
>
> Il 18:54, mercoledì 9 ottobre 2002, hai scritto:
> > Another bit of information, the first time through it looks like auth is
> > being restarted as $auth->auth['uname'] is cleared out.
>
> Sorry, but for cvs php-lib-stable, this must be quite an oldish
> problem, or a
> mistake. I must know:
>
> are you mixing auth and default_auth classes? What auth classes are the 2
> frames using?
No, litterally the same code copied from the inner to outer frame.
> are you placing page_close() too on both the containing and
> contained frames'
> end? This can be the first reason
Yes, the inner and outer frame are two different sessions. (Which may be the
problem)
ex.
{outerframe.php}
page_open();
<HTML>
<BODY>
<IFRAME src='innerFrame.php'>
</BODY>
</HTML>
page_close();
{end outerframe.php}
{innerframe.php}
page_open();
<HTML>
<BODY>
This is the inner frame which is another php page.
</BODY>
</HTML>
page_close();
{end innerframe.php}
> Do the two frames show the same sid? (I think you said yes...)
Yes
> Do you reload the two together when you post the login form in
> one of the two?
no, only the inner frame
> Do you need authentication in the containing frame too ?-)
yes
>
> Gian
>
Rob Hutton
Web Safe
www.wsafe.com
|