Forum Moderators: coopster
PHP is capable of transforming links transparently. Unless you are using PHP 4.2 or later, you need to enable it manually when building PHP. Under Unix, pass --enable-trans-sid [php.net] to configure. If this build option and the run-time optionare enabled, relative URIs will be changed to contain the session id automatically.session.use_trans_sid
You may want to read more about Passing the Session ID [php.net] in PHP. I'm guessing it is going to be a configuration-related issue.
The server owner added the following line to my .htaccess file to make it stop:
php_flag session.use_trans_sid off
Doesn't that only hide it from those without cookies?
The PHPSESSID was only showing up in the URL when cookies weren't on when that happened to me so it certainly stopped it from coming up at all. I can't tell from the initial post if the random occurances might have anything to do with cookies or not.