Re: 'SID' Session Var as Global

From: Date: Thu, 04 Jan 2001 15:04:10 +0000
Subject: Re: 'SID' Session Var as Global
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32640@lists.php.net to get a copy of this message
in article 4040BBE81A9AD411BD27009027887A7C0428F3@tiger.wild.net, "Boget, Chris" at Chris.Boget@wild.net wrote on 03/01/2001 09:49 pm: > I need to access the constant 'SID' within a function but do > not know how to declare it as a "Global" variable. What do > I need to do to declare it as a global? > > Chris > SID is a constant so it should already be available within functions. if you have problems you could also use... global sesID; sesID = SID (or session_id());

« previous php.general (#32640) next »