Re: AW: [PHPLIB] frames + auth = ? From: Martin Decker (martin.decker <email protected>)
Date: 12/22/99

Hi Danny,

I see your point. Of course you are right. But the problem in most of the
cases is that, the loginform.ihtml is composed of a frameset and multiple
frames. Is it possible to display a complete frameset in case a user is not
authenticated? As each frame checks for correct authentication, how is it
possible to switch to a full-screen loginform.ihtml in case of failed or
undone authentication.

Martin

At 19:46 21.12.99 +0000, you wrote:
>Hi Allen,
>
>I'm using phplib in a "frames environment", and there are no unsolvable
>problems.
>The only thing you'll have to consider is that you have to do a page_open in
>your *frameset* file, and specify the participating frame files of the
>frameset by using $sess->purl(), so that the files of the different frames -
>they will do a page_open() themselves - don't open up a new session (and
>therefore force you to login to every one of 'em).
>
>A sample "frameset.phtml" could look like this:
>
><?php page_open(array("sess" => "Example_Session", "auth"
>=>"Example_Auth")); ?>
><?php page_close() ?>
>
>With this approach the session id is carried on to every "child"...
>You (can) have three (in the example) files doing a page_open():
>-the frameset file (this will take you to the login if you use "auth")
>-the participating frame files (they won't take you there, your session has
>already been authenticated)
>
>Danny Adair
>Danny <email protected>
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: phplib-owner <email protected>
> > [mailto:phplib-owner <email protected>]Im Auftrag von Allen Lee
> > Gesendet am: Dienstag, 21. Dezember 1999 17:45
> > An: phplib <email protected>
> > Betreff: [PHPLIB] frames + auth = ?
> >
> >
> > Does anyone know if it is ok to use frames while you are using session
> > management features?
> >
> > The different frames don't screw up your session, do they?
> >
> > Allen
> > -
> > PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> > To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> > the body, not the subject, of your message.
> >
>
>-
>PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
>To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
>the body, not the subject, of your message.

*****************************************
Martin Decker, martin.decker <email protected>
Telekommunikationstechnik und -systeme
Fachhochschule Salzburg
Jakob-Haringer-Str. 1a/II/12
Tel. 0664 5775697

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.