Re: Problems.Sessions id on urls

From: Date: Tue, 20 Nov 2001 22:44:18 +0000
Subject: Re: Problems.Sessions id on urls
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75316@lists.php.net to get a copy of this message
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: 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 (#75316) next »