Re: SessionManager
| From: | Bertrand Mansion | Date: | Sat, 30 Jun 2001 16:47:34 +0000 |
| Subject: | Re: SessionManager | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-520@lists.php.net to get a copy of this message | ||
le 28/06/01 16:54, Chuck Hagenbuch à chuck@horde.org a écrit :
>> Then you can get that object back from the session at any time, and can
>> keep track of all of the registered variables more easily, since they're
>> all in one place. Internally SessionManager will have an array that it
>> registers with session_register(). In this array it stores all of the
>> variables.
>
> So, a mirror of $HTTP_SESSION_VARS? I'm still not seeing the added value.
>
> -chuck
>
Added value could be found in custom containers for session variables just
like in phplib ct_ classes. And also because working with objects is for
some of us easier to apprehend than session_register() or session_start() in
term of syntax. And finally because you might need url rewriting in case 'no
cookies', still like in phplib.
bertrand