Re: session.entropy_file and hostname
| From: | Daniel Egeberg | Date: | Wed, 03 Mar 2010 11:35:23 +0000 |
| Subject: | Re: session.entropy_file and hostname | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302502@lists.php.net to get a copy of this message | ||
On Wed, Mar 3, 2010 at 07:28, Sascha Wojewsky <sascha.wojewsky@heinze.de> wrote:
> thank you for your answer,
>
>> If you want server-unique session ids, use session_name() before
>> session_start()..?
>
> i cannot use session_name, because i've to regenarete a session id by
> permanent login.
> i'm using session_regenerate_id, and session_name doesen't works with it (?)
It should work fine. You must change the session name (either using
the session_name() function or by changing session.name in php.ini)
before you call session_start().
Note that the session name and the session ID are two different things.
--
Daniel Egeberg