RE: [PHP] PHP session variables
| From: | Jen Rasmussen | Date: | Wed, 08 Aug 2012 16:56:53 +0000 |
| Subject: | RE: [PHP] PHP session variables | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318650@lists.php.net to get a copy of this message | ||
-----Original Message-----
From: David Harkness [mailto:david.h@highgearmedia.com]
Sent: Wednesday, August 08, 2012 11:53 AM
To: Ansry User 01
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP session variables
On Wed, Aug 8, 2012 at 8:24 AM, Ansry User 01 <yrsna.resu01@gmail.com>wrote:
> I am setting the _SESSION variables in one of my file, but whenever I
> leave the php page session variables are not accessible.
As always, post some code demonstrating what you're doing. Help us help you!
:)
David
You have to set session_start also on the page where you are trying to
retrieve the session variables.
Jen