* Thus wrote Golawala, Moiz M (IndSys, GE Interlogix) ([EMAIL PROTECTED]): > > I noticed that 2 cookies were created one for each session start. When I opened one > of the cookies, I noticed that the data "Please help" was in the session cookie. > Somehow php thinks a session is not already created and starts a new session on > page2.php.
I think you mean the session file had the "please help" not the cookie. The cookie will only have the session id in it. > > my php.ini file has: > register_globals = off > session.use_cookies = 1 > session.use_only_cookies = 1 > session.auto_start = 0 > session.gc_maxlifetime = 1440 > > Please can someone help me. I am not sure what I am doing wrong? Maybe it is some > configuration that is causing this issue. Any help appreciated. > Ensure your browser is accepting cookies. If you dont accept a cookie on the first request then the second request will start a whole new session without the previous data. Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php