|
Re: Session problem: msg#03617php.general
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@xxxxxxxxxx> wrote in message news:4.3.2.7.2.20020524182228.00aa7100@xxxxxxxxxxxxxxxx > 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Barcodes, José León Serna |
|---|---|
| Next by Date: | Re: opendir security hole, daniel |
| Previous by Thread: | Session problem, Manisha |
| Next by Thread: | Access denied errors, Nick Wilson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |