From: "Sascha Wojewsky" on
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


From: Rene Veerman on
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
<sascha.wojewsky(a)heinze.de> 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
>
>
From: "Sascha Wojewsky" on
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?


From: Daniel Egeberg on
On Wed, Mar 3, 2010 at 07:28, Sascha Wojewsky <sascha.wojewsky(a)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