Re: About session in PHP

From: Date: Thu, 04 Jan 2001 15:07:37 +0000
Subject: Re: About session in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32641@lists.php.net to get a copy of this message
in article 000f01c0757c$a4598aa0$d300140a@lee, "schlee" at schlee@hkstar.com wrote on 03/01/2001 11:53 am: > Dear support, > > When I connect to the web-page written by PHP4.04 > using IE 5.0, a session-id d396xxxxxx is generated in the server's /tmp > directory. > > Then I start another IE 5.0 to connect to the same page > again, and I expected a new session-id should be generated, > however, it gives me the same session-id. So I can't start two > simultanous php application from one PC due to the same > session id. > > Help : how can I make the session-id be different from same PC > > Thanks > > I believe that a new instance of IE5 will not invoke a new connection from the same machine. you could test to see if SID exists and then set a new session id using... session_id([id]) Regards, Nic

« previous php.general (#32641) next »