Re: Newbie question: Sessions
| From: | Cal Evans | Date: | Tue, 06 May 2003 13:01:55 +0000 |
| Subject: | Re: Newbie question: Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146513@lists.php.net to get a copy of this message | ||
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
>
>