This one has me confused.
I am running a single set of code for 3 sites. All have been running for some time.
I was doing some developement on a user profile search module for one of the sites (just simple tweaking as it has been running for some time on a live site) and did encounter a snytax error. Fixed it and the site is fine. This module also runs on the other two sites mentioned.
Now, the target site has suddenly developed a habit of putting the php session id on the end of the clean url! Rolling back the module I was devloping to the earlier version (pre tweaks) makes no difference.
I tried turning off clean urls, saving, and turning back on, but no difference.
Strangely, the other two sites are fine, even with the module I was editting switched on.
I'm a bit stuck now, and this is a customer's site so I'd like to fix it asap. Any suggestions folks?
Comments
Asked and answered many times before
Please do some searching next time.
You need to set the following PHP variables:
session.use_trans_sid off
session.use_only_cookies on
Either through php.ini or .htaccess.
Perhaps your work on the search engine is lacking?
Are you having a bad day? I did of course search (but obviously with the wrong strings)
I am very grateful for the information, it appears to be correct and has solved the problem, which is of great value to me today.
I have been in IT for 15 years working at all levels. I am considerred a specialist in a number of areas. I have never felt motivated to display such arrogance to those asking for help.
Thankyou all the same for the information, it was very helpful, as was Dries similar posting I subsequently found here: http://drupal.org/node/2795
For others that may be interested:
I have been running clean urls for at least 3 months on two or three sites and this has only occured today for no apparent reason.
I know php.ini and .htaccess have not previously been changed because I do my own hosting.
Still adding Steve's lines to .htaccess fixed the problem.