Re: session.use_trans_sid?

From: Date: Wed, 21 May 2003 23:51:28 +0000
Subject: Re: session.use_trans_sid?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148486@lists.php.net to get a copy of this message
enable-trans-sid is compiled in if you DO want SID's in the URL, and ONLY if cookies aren't available as a means of passing the session ID. But in your case it would appear PHP wasn't compiled with it. Something tells me *maybe* it is pre-compiled in by default from 4.3 upwards maybe. I *Guess* you might try turning off session.use_trans_sid with either ini_set() or with a .htaccess file. Just to make it clear, you only have three choices with sessions -- in the URL, POST or in cookies. Leaving out POST, if the user doesn't have cookies, then you're stuck with adding them in the URLs. If you turn off trans-sid and the user doesn't have cookies, then the ONLY way sessions will work is if you MANUALLY add the session ID to every URL within your site. Yuk! Justin French on 22/05/03 8:51 AM, Steven Kallstrom (stevenkallstrom@insightbb.com) wrote: > Hey, > > Here's my phpinfo - > http://66.78.35.25/~vitality/phpinfo.php > > I am using sessions, and the session id is still appearing in the URL. I > assume because they didn't seem to compile PHP with -enable-trans-id. > or am I wrong. I do not want the session id to appear on the URL... I > do no think that I will be able to change the php.ini because it is a > shard server. any help would be greatly appreciated. > > Steven > >

« previous php.general (#148486) next »