Posted by Markus on 02/07/07 14:39
Jerry Stuckle schrieb:
>> So as I use it only for temporary data, such as shopping cart orders
>> or administrator activities, I assume it is a good idea to work with
>> substr(session_id(), 0, 32);
>>
>
> Why even worry about the session id? Just let PHP handle it. You don't
> want to store the session id in a database - the data will be gone soon,
> anyway. Then you're left with a session id in the database but no
> session to go with it.
Ooops... this is indeed a remainer from the times when I handled
sessions manually. Thanks for pointing this out!
Markus
[Back to original message]
|