Re: [PHP4BETA] regarding session_register...

From: Date: Fri, 10 Dec 1999 17:02:00 +0000
Subject: Re: [PHP4BETA] regarding session_register...
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7765@lists.php.net to get a copy of this message
On Fri, 10 Dec 1999, Hans Rakers wrote: > > Hello all, > > Is it normal behaviour that session_register has to be called across various > script files to retreive a value from a session? In other words, is it normal > that after calling session_register in a script, i have to call it again in the > next script to retreive the value of the registered variable again? > > Any help would be greatly appreciated. No, the normal way to start a session is to call session_start() or set session.auto_start = 1 in the config file. session_register() has a side effect of starting a session if it's not started already so that's why it works. -Andrei * We reason deeply, when we forcibly feel. *

« previous php.version4 (#7765) next »