This is actually a feature that PHP offers when compiled with the 
--enable-trans-sid option.  If a browser does not support cookies or has 
security settings that place restrictions on cookies that won't allow 
PHP to have access to the cookie, then PHP will append the session id to 
the URL.  I believe you can get rid of this (but may not having working 
sessions for some clients) by changing the following:

session.use_trans_sid = 1

to

session.use_trans_sid = 0

Save the php.ini file and restart your web server if you have PHP 
installed as a module/plug-in.  That should do it for you.  For more 
info on sessions and the trans-sid stuff, check out:

http://www.php.net/manual/en/ref.session.php

Hope that helps.

Joshua Hoover


> Some browser (konqueror) show the session id in the url. Does anoyone 
> know
> how to aviod that. Netscape does not show the session id.
>
> Thanks in advance
>
> --
> 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]

Reply via email to