Re: setting/reading session_id before session_start

From: Date: Wed, 30 Jan 2002 09:01:53 +0000
Subject: Re: setting/reading session_id before session_start
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-82690@lists.php.net to get a copy of this message
Just start the session again with session_starrt(), PHP will not start the session again if it already exists. <razorfish@surfinbox.com> wrote in message news:56874.64.4.198.34.1012343865.squirrel@mail.surfinbox.com... > > Maybe I'm having a brain fart, please set me straight: > > I want to use session_id($myval) to use a roll-my-own MD5 session id (SID). > > I don't obviously want to assign the session_id() if the session is already > established. > > Given that session_id() must come before session_start() how do you tell if > a session_id has already been set before session_start()?! > > > > >

« previous php.general (#82690) next »