[PHP] session.use_trans_sid Question

2005-03-16 Thread Al
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,

[PHP] session.use_trans_sid question

2002-08-13 Thread Sean Brown
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: IfModule mod_php4.c

Re: [PHP] session.use_trans_sid question

2002-08-13 Thread Rasmus Lerdorf
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: Location foo.php php_value session.use_trans_sid 0