Re: [PHP] session.entropy_file and hostname

[email protected] (Daniel Egeberg)
Newsgroups php.general
Message-ID <[email protected]>
On Wed, Mar 3, 2010 at 07:28, Sascha Wojewsky <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.