Re: Session management module - thoughts
| From: | Zeev Suraski | Date: | Fri, 28 May 1999 18:00:26 +0000 |
| Subject: | Re: Session management module - thoughts | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-6191@lists.php.net to get a copy of this message | ||
I agree.
Zeev
On Fri, 28 May 1999, Jim Winstead wrote:
> On May 28, Zeev Suraski wrote:
> > I'm not sure I'm following you, but what I have in mind is something every
> > John Doe newbie user can handle. Something along the lines of:
> >
> > session_start();
>
> This should also have an optional argument to set the session id
> explicitly, so someone can allow logging back in to a session (if
> for some reason PHP has lost track of the user). In fact, it should
> probably return whether the session was assigned a new identifier
> or was found to be an old one.
>
> This would even allow someone to implement GET-based or hidden-field
> based session ids on top if all we provide is cookie-based. (Not
> that I really think we want to limit ourselves, but it may make the most
> sense for initial implementations.)
>
> (To be clear, I agree with everything you're saying, I'm just
> pointing out places where we can leave wiggle room for people
> to do more on top of the basics we provide.)
>
> The other optional argument to session_start() to allow the location
> of the session information is also important, I think. It would
> allow people to multiple session "zones" on different pages, for
> example, and is also important for IPP hosting where you don't
> necessarily have access to the normal PHP configuration mechanisms.
>
> Jim
>
--
-----------------------------------------------------
Zeev Suraski <zeev@zend.com>
For a PGP public key, finger bourbon@netvision.net.il
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net