Re: session vars

From: Date: Tue, 21 Mar 2006 17:14:40 +0000
Subject: Re: session vars
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-232332@lists.php.net to get a copy of this message
Sessions only have access to Global Vars. http://us3.php.net/manual/en/ref.session.php I understand it's because the local vars inside a function are free'd when you exit the function, and the actual post to the session record occurs during script wrappup operations, long after exiting the function. hope this helps, Warren At 08:58 AM 3/21/2006, tedd wrote:
Hipeople. I've a system where i use session and all is working fine. But has something that don't work and i can't to find the cause. When a use the include function, the file included don't see the session vars. Anyone knows why it's happen? Thanks. -- --------------------------------------------------- João Cândido de Souza Neto
No, but try this. http://www.weberdev.com/get_example-4349.html tedd -- -------------------------------------------------------------------------------- http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#232332) next »