Re: How to combine Auth with HTTP_Session
| From: | Stefan Neufeind | Date: | Mon, 15 Dec 2003 10:15:47 +0000 |
| Subject: | Re: How to combine Auth with HTTP_Session | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9519@lists.php.net to get a copy of this message | ||
On Mon, 15 Dec 2003 at 10:36:13, Torsten Roehr wrote:
> does anyone know how to easily combine PEAR::Auth with the HTTP_Session
> package? PEAR::Auth gives no control over how to store the session data
> (files, DB etc.) or to define the session lifetime itself (and therefore be
> able to destroy it).
Why can't you just check if there is an existing session (in which you also
store the user-rights etc.) and if there is not you try to Authenticate the
user via PEAR::Auth and create a session?
Regards,
Stefan