Re: [PHP4BETA] Session_register in function

From: Date: Thu, 27 Jan 2000 14:19:32 +0000
Subject: Re: [PHP4BETA] Session_register in function
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-9464@lists.php.net to get a copy of this message
On Wed, 19 Jan 2000, Ben-Nes Michael wrote: > Hi > > I put Session_register () in function then called it from other file > with include but the session was not set ? > > Can I manipulate session in function ? You can, but session_register() looks only at the global variables so you'll have to declare whatever you're reistering as 'global'. -Andrei

« previous php.version4 (#9464) next »