session.entropy_file and hostname
session.entropy_file and hostname
am 01.03.2010 17:49:19 von Sascha Wojewsky
Hi,
i'm new to this list...
Is it possible to set the session.entropy_file to /bin/hostname (or
something like this)?
I've to user server-unique SessionIDs...
Thanks
Sascha
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: session.entropy_file and hostname
am 02.03.2010 13:28:28 von Rene Veerman
If you want server-unique session ids, use session_name() before
session_start()..?
session.entropy_file seems to be used only with /dev/urandom,
and seems to be used to _increase_ the differences betweeen
session ids.
On Mon, Mar 1, 2010 at 5:49 PM, Sascha Wojewsky
wrote:
> Hi,
>
> i'm new to this list...
> Is it possible to set the session.entropy_file to /bin/hostname (or
> something like this)?
> I've to user server-unique SessionIDs...
>
> Thanks
>
> Sascha
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: session.entropy_file and hostname
am 03.03.2010 07:28:57 von Sascha Wojewsky
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 (?)
> session.entropy_file seems to be used only with /dev/urandom,
> and seems to be used to _increase_ the differences betweeen
> session ids.
i've thought that i can uses any other files with session.entropy_file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: session.entropy_file and hostname
am 03.03.2010 12:35:23 von Daniel Egeberg
On Wed, Mar 3, 2010 at 07:28, Sascha Wojewsky 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