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
[EMAIL PROTECTED]




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

Reply via email to