Re: accessing session information from one page to the next

From: Date: Tue, 15 Apr 2003 09:23:00 +0000
Subject: Re: accessing session information from one page to the next
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143886@lists.php.net to get a copy of this message
Correct way: session_is_registered (watch the warnings on the manual about session_register() tho ;) ) Does the trick fine for me: isset(). I have ALWAYS used this method instead of the upsaid one. Ciao Andrea Fastame dwalker wrote:
which is the correct or most commonly used version of checking session 'stuff'? if (session_is_registered("variable")){ OR... if(!isset($_SESSION['variable'])){ I'm having some difficulty accessing session information from one page to the next (with no passing of info within url). Any assistance would be appreciated...


« previous php.general (#143886) next »