RE: [PHP4BETA] Session management functions
| From: | Jade Meskill | Date: | Tue, 17 Aug 1999 17:35:25 +0000 |
| Subject: | RE: [PHP4BETA] Session management functions | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3515@lists.php.net to get a copy of this message | ||
> > Secondly, as far as I have seen you need to call session_start() at the
> > beginning of each page. (I am not sure if this is correct, but
> that is the
> > only way it worked for me.)
>
> session_start(), session_register(), or enable session.auto_start.
ahh... thanks that'll save me a little bit of work.
> > Finally, session_register() must be called *BEFORE* you assign
> a value to
> > the variable. This should solve most of your problems.
>
> That's not required. session_register() doesn't care about
> the current status of a variable. This only becomes important
> at the end of the request.
Okay... I wasn't sure about that part... that's the only way I had tried it,
so... in that case, it's good that it works that way! :)
>
> > If you would like
> > some sample code, or some more advice, you can reply to me
> privately or if
> > more people on the list would like some samples, I would gladly
> post it up.
>
> More examples for the documentation?
Let me get it together, and I'll send it to you! :)
Jade Meskill
Software Developer
Liberty Distribution Company
Email : jmeskill@libertydistribution.com