What are the pros and cons of session.use_trans_sid ON and OFF
Just moved our site from one which had the php.ini, session.use_trans_sid=OFF to
one with it ON
Sure looks ugly having the PHPSESSID showing up for visitors.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
You cannot do it inside the script as the trans-sid stuff happens before
your script is executed. The setting is changed, so ini_set() is doing
its job, it's just that it sets it too late.
In your .htacess file, just do it per-location:
php_value session.use_trans_sid 0
-Rasmus
On Tue, 13 A
After reading other posts, I have found that there are two ways to disable
use_trans_sid at runtime. I do NOT have the ability to change the php.ini
file, so I am stuck with handling this at runtime.
1. in code:
ini_set("session.use_trans_sid","0");
2. in an .htaccess file:
php_value ses
3 matches
Mail list logo