Re: Session Question

From: Date: Fri, 03 Jan 2003 18:40:20 +0000
Subject: Re: Session Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-130142@lists.php.net to get a copy of this message
In most cases, Yes. Calling session_start() for the first time sets a cookie on the client's computer containing the session id. At the same time the function creates a matching session file on the server. You register whatever variables you want to this file so that when you call session_start() on another page it looks for the cookie, retrieves the session id, and makes the associated variables in the file available to your script. I suggest you read the manual. It's all there... http://www.php.net/manual/en/ref.session.php -Kevin ----- Original Message ----- From: <ed@home.homes2see.com> To: <php-general@lists.php.net> Sent: Friday, January 03, 2003 11:10 AM Subject: [PHP] Session Question > > Does php use cookies for sessions even if you don't explicitly use cookie > functions to save session data server side? > > TIA, > > Ed > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#130142) next »