One important question is:

You're using register_globals equal on or off?


suresh kumar wrote:

> i am having one problem in session handling.
> I am having 2 files,login page and hame page.
> when user enterd user name and password in login page
> .i used session to store the user id .in my second
> home page.i retrieve the user id.now i want the user
> id to be availble in my thrid page.plz help me.this is
> my code.
> 
> login.php
> session_start();
> $ID=$userid;
> session_register("ID");
> 
> homepage.php
> session_start():
> echo $ID   //this is working fine
> 
> 
> 
> thirdpage.php
>   session_start();
>   echo $ID //not working
> 
> 
> 
> i am looking reply from u
> 
>    
> 
> 
> 
> __________________________________________________________
> Yahoo! India Matrimony: Find your partner now. Go to
> http://yahoo.shaadi.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to