Re: [PHP4BETA] regarding session_register...
| From: | Hartmut Holzgraefe | Date: | Fri, 10 Dec 1999 17:04:04 +0000 |
| Subject: | Re: [PHP4BETA] regarding session_register... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7766@lists.php.net to get a copy of this message | ||
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.
>
> Thanks in advance,
>
> Hans Rakers
>
Did you call session_start() or set session.auto_start in php.ini ?
If this isn't the case, then the session won't be available until the
first call to session_register(), which will do an implicit
session_start
if necessary