RE: PHP session variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: David Harkness [mailto:david.h@xxxxxxxxxxxxxxxxx] 
Sent: Wednesday, August 08, 2012 11:53 AM
To: Ansry User 01
Cc: php-general@xxxxxxxxxxxxx
Subject: Re:  PHP session variables

On Wed, Aug 8, 2012 at 8:24 AM, Ansry User 01 <yrsna.resu01@xxxxxxxxx>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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux