Hello experts
i m a new one in PHP.i have developed an application and i m facing session problem.
session_start() ; is obvious on everypage.
but wen i login after user validation where session varaibles are created the page is redirected by a header to the main page.but here i dont fine my session varibales
as in validating page
session_start() ;
$_session['a']="somthing";
and on the next page there is nothing in
$_session['a'] .
One thing i have noticed that on next page new session is created.
which is different from the previous page session id.
i m using php4.4.7 and register_global is on and session.use_tra ns_sid is off
session.auto_st art is off and session.use_coo kies is On.
i m working on it from last three days and it is the first time i m posting any thing on a forum.
and i m sure i'll get an appreciateable response.
Thanks
i m a new one in PHP.i have developed an application and i m facing session problem.
session_start() ; is obvious on everypage.
but wen i login after user validation where session varaibles are created the page is redirected by a header to the main page.but here i dont fine my session varibales
as in validating page
session_start() ;
$_session['a']="somthing";
and on the next page there is nothing in
$_session['a'] .
One thing i have noticed that on next page new session is created.
which is different from the previous page session id.
i m using php4.4.7 and register_global is on and session.use_tra ns_sid is off
session.auto_st art is off and session.use_coo kies is On.
i m working on it from last three days and it is the first time i m posting any thing on a forum.
and i m sure i'll get an appreciateable response.
Thanks
Comment