Re: session
| From: | Xavier Spriet | Date: | Mon, 16 Dec 2002 02:50:37 +0000 |
| Subject: | Re: session | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2985@lists.php.net to get a copy of this message | ||
Hi There,
You have reached the wrong list.
the pear-general list is reserved for pear-related issues.
You may want to try php-general or comp.lang.php
For your session problem, I would try to enable trans-sid in your
php.ini
Thanks.
On Sun, 2002-12-15 at 21:17, bump wrote:
> 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
>
--
Xavier Spriet <xavier@wuug.org>