Re: session.entropy_file and hostname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 3, 2010 at 07:28, Sascha Wojewsky <sascha.wojewsky@xxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux