Re: Newbie question: Sessions

From: Date: Tue, 06 May 2003 17:20:09 +0000
Subject: Re: Newbie question: Sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146543@lists.php.net to get a copy of this message
Thanks, that makes sense to me... /T on 5/6/03 21:22, Haseeb Iqbal at webcodder@hotmail.com wrote: > Here is how it works. > when we create a seesion php creates a file.you can say that this file is a > server side cookie.and assigns a unique name to it.and then all the data is > stored in that file.when ever you start a seesion this file is made > active.and the data inside it is availble to users for use > > Creativity is inventing, experimenting, growing, taking risks, breaking > rules, making mistakes, and having fun. > Haseeb Iqbal > ----- Original Message ----- > From: "Cal Evans" <cal@calevans.com> > To: "Info@Best-IT" <info@best-it.biz>; "PHP general" > <php-general@lists.php.net> > Sent: Tuesday, May 06, 2003 6:01 PM > Subject: Re: [PHP] Newbie question: Sessions > > >> T, >> >> You don't have to keep track of sessions. It's automatic. You can store >> information in $_SESSION on one page an retrieve it on another. Each use > on >> your site has a unique session. >> >> Make sure you either have PHP set to automatically start sessions or that >> you start them manually on each page. >> >> HTH, >> =C= >> * Cal Evans >> * http://www.christianperformer.com >> * Stay plugged into your audience >> * The measure of a programmer is not the number of lines of code he writes >> but the number of lines he does not have to write. >> * >> >> ----- Original Message ----- >> From: "Info@Best-IT" <info@best-it.biz> >> To: "PHP general" <php-general@lists.php.net> >> Sent: Tuesday, May 06, 2003 7:58 AM >> Subject: [PHP] Newbie question: Sessions >> >> >>> I have a question regarding the concept of sessions. I understand that >>> sessions can keep track of user-specific data, but I'm having a hard > time >>> understanding how they 'hold' the user specific data. My first thought > is >>> that the session variables hold the data. But how do you keep track of >>> specific sessions and their variables then keep them tied to a user that >> is >>> logged in? >>> >>> Any insights would be very helpful! >>> >>> Thanks, >>> T >>> >>> >>> >>> >>> >>> -- >>> PHP General Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >>

« previous php.general (#146543) next »