Re: checking is session_start is already set

From: Date: Thu, 12 Jun 2003 02:16:01 +0000
Subject: Re: checking is session_start is already set
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151186@lists.php.net to get a copy of this message
if(!session_id()){ //Session not started } daniel@electroteque.org wrote:
dumb question but how can i check if i have loaded the session_start function without actually checking for a particular session variable , i need to know as to prevent it being called twise within my DB class which is seperate from my authentication class where session_start is set so then the DB class is independent from the authentication class and will start a session if one isnt already made
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#151186) next »