Re: PHPSESSID in session

From: Date: Fri, 20 Apr 2001 23:52:27 +0000
Subject: Re: PHPSESSID in session
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49623@lists.php.net to get a copy of this message
If the user's browser does not support the session cookie like it should, PHP will automatically "rewrite" your url's and add "?PHPSESSID=". So you don't need to force PHPSESSID to be sent, but you could always just add ?PHPSESSID= onto all the urls you want. It's just really ugly that way. -- Plutarck Should be working on something... ...but forgot what it was. ""nicuc.ac.jp"" <nicuc@ac.jp> wrote in message news:9bp4n3$7uk$1@toye.p.sourceforge.net... > I use session in my Shopping cart program. > start with > > session_start() ; > > and register the value with > > session_register('uid') ; > > when I want to pass the session value to another page I use > > echo "<a href='somepage.php'>click</a>" ; > > > In 'somepage.php' I try to echo $uid the output that correct > My question is why my url not contain like > > http://aaa.com/somepage.php?PHPSESSID= blah... blah.. > > It's not show like above just show like below > > http://aaa.com/somepage.php > > and it's work... ? > > > Is this because session send cookies to the browser ? > How could I do if I need to force session not sent the cookies to user ? > > > Any comment would be appriciated. > > > -- > Yang > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#49623) next »