Auth class question (preserve user authentication across scripts)
| From: | Wakan | Date: | Thu, 21 Mar 2002 00:06:02 +0000 |
| Subject: | Auth class question (preserve user authentication across scripts) | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-1006@lists.php.net to get a copy of this message | ||
Hi,
I'd like to ask some help to resolve this problem:
I've a home page with a left frame, and a central frame.
In the left frame I authenticate the user (script left.php)
when the user is authenticated, left.php say "hello user" instead of
the login form: so I'm sure that the user is authenticated.
In the left.php output page there's a link to modify.php with target in the central frame.
In the mod.php I re-instantiate the auth class, but when I do getAuth() there's no
user logged in !!!
So how to enter in another script and re-use the session information create by the login script (left.php) ?
I've to transmit a session ID (and where's) with a mod.php?ID=##### ???
thanks in advance,
Carlo
I've also tried something like addUser(), but I think it handles to create something like "current logged users". (or not?)
why auth class has +/- null documentation?
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com