Re: session_start
| From: | Richard Lynch | Date: | Tue, 27 Feb 2001 22:52:37 +0000 |
| Subject: | Re: session_start | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41901@lists.php.net to get a copy of this message | ||
> do we have to use in each page using the data of a session the
> session-start()?
> cause in the manual it says that session_start -- Initialize session data
> and session_start() creates a session ?!
> thanks
You want session_start() at the top of every page that uses session data.
It initializes session data to the existing values, and creates a (logical)
session for you to work with. It doesn't wipe out your session and make a
new one, which is how I think you read it.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm