session

From: Date: Fri, 03 Mar 2000 07:46:49 +0000
Subject: session
Groups: php.version4 
Request: Send a blank email to php-version4+get-11427@lists.php.net to get a copy of this message
Hi, I have implemented session in the very first page at which I created sessions and assigned values to them as following. session_start(); session_register("sess_userid"); session_register("sess_accid"); $sess_userid = "1234"; $sess_accid = "1234"; and used session_start() at the beginning of every pages where I need to use those sessions. The problem is that session sometimes passes values and sometimes not. when it doesn't work, there are warnings as following Warning: Undefined variable: sess_accid in /home/jpark/public_html/Account/balance.php on line 12 Warning: Undefined variable: sess_userid in /home/jpark/public_html/Account/balance.php on line 60 Please help me. Regards, Jason

« previous php.version4 (#11427) next »