Re: [Session] SID automatically add on all pages?
| From: | Jason Wong | Date: | Sun, 30 Jun 2002 13:28:50 +0000 |
| Subject: | Re: [Session] SID automatically add on all pages? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104569@lists.php.net to get a copy of this message | ||
On Sunday 30 June 2002 19:04, Tim Stoop wrote:
> Hi Justin,
>
> Thx for the reply
>
> Justin French wrote:
> > using functions like session_start() and the registering of session
> > variables ($_SESSION['something'] = "foo";) will establish/maintain a
> > session.
>
> Yes, I understand. Sessions need to be started. But once they have started,
> do I need to re-affirm the session on every page, or will it hold for a few
> pages, until the session-variables will be used again ...
There is a setting in php.ini, "session.auto_start", which enables php to
automatically register a session. But as Justin suggests, you should refer to
a decent article/book or manual for details.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
If you flaunt it, expect to have it trashed.
*/