Re: [PHP4BETA] Session management functions
| From: | Sascha Schumann | Date: | Tue, 17 Aug 1999 17:29:09 +0000 |
| Subject: | Re: [PHP4BETA] Session management functions | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3512@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.
> 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.
> 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?
--
Regards,
Sascha Schumann
Consultant