session

From: Date: Mon, 16 Dec 2002 02:17:18 +0000
Subject: session
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2984@lists.php.net to get a copy of this message
hi, i have some problem about session in PHP ok.. start i write program like this. session1.php <? session_start(); session_register("data3"); $data3="0123456789"; echo session_id(); ?> now i user Omnihttpd version2.10 for webserver and winXP on my Comp. i open IE web browser i try http://127.0.0.1/session1.php This program display seesion'id is 8c15e05183ac143f7dc517e62be59957 in the same browser i press F5 to refresh this page The session'id is changed .it not remember old value why?????? My program is wrong... i know.i read the book it's tell me "session'id will change when close browser and start new browser".. right?? after that i to use this program run at the real server...(Linux+Apache+php4.12) it's OK...the session'id is the same when i refresh this page the session'id is the same too.. i don't know what happen??? please help me.. um..today i change Omnihttpd to Apache Webserver .it has the same problem.. thank you krisda kosolkarn krisda_kosolkarn@hotmail.com

« previous php.pear.general (#2984) next »