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" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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