Re: Session problem
| From: | Adrian Ciutureanu | Date: | Fri, 24 May 2002 11:16:00 +0000 |
| Subject: | Re: Session problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99073@lists.php.net to get a copy of this message | ||
All you have to do is to call
session_name("EmailSess");
session_start();
in rest of pages.
BTW: You don't really need to call session_name()
"Manisha" <manisha@aurica.com> wrote in message
news:4.3.2.7.2.20020524182228.00aa7100@192.168.1.116...
> I am facing so many problems - first file lock and now for session - I
> still could not understand how to get the session value in another page. I
> am very new to PHP. I tried many many ways to get it
>
> Actually I want to store ID in a session and want to get back this ID in
> rest pages. Can you give me one by one step to do it.
>
>
> First page -
>
> session_name("EmailSess");
> session_start();
> $ID = "1";
> session_register("ID");
>
>
> ---------------------
>
> How to get back this ID in another pages ?
>
> Please help, I am stuck
>
> Manisha
>
>