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"" <[EMAIL PROTECTED]> wrote in message
9bp4n3$7uk$[EMAIL PROTECTED]">news:9bp4n3$7uk$[EMAIL PROTECTED]...
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]