From: "Sascha Wojewsky" on 1 Mar 2010 11:49 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 2 Mar 2010 07:28 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 3 Mar 2010 01:28 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 3 Mar 2010 06:35 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
|
Pages: 1 Prev: how to download files require login Next: mysqli_connect problem |