Re: Session confusion
| From: | Aaron Todd | Date: | Wed, 06 Oct 2004 19:02:35 +0000 |
| Subject: | Re: Session confusion | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-36656@lists.php.net to get a copy of this message | ||
Stuart,
I am fairly new to PHP, but it is my understanding that you have to run the
session_start() command on every page that you want to be part of the
session and to access the session variables.
Here is a link of a tutorial about using sessions:
http://www.phpfreaks.com/tutorials/41/3.php
Look for the word MUST in red
and read that paragraph. It should tell you what you need to know.
Hope that helps,
Aaron
"Stuart Felenstein" <stuart4m@yahoo.com> wrote in message
news:20041006161529.60231.qmail@web13522.mail.yahoo.com...
> Back to my multi page form again ;)
>
> I am going to try it with Session variables .
> So, one thing is confusing me.
>
> The page requires the user to be logged in and is
> being tracked via authentication.
> Do I still need to do a "session_start();", at the
> beginning of the form process ?
>
> Stuart