Disabling automatic session IDs in URLs
One important point we have to consider while launching our web sites. When our site hosted on someone else’s server, PHP configured to automatically append the Session ID to any URLs.
Eg - in php.ini, the variable session.use_trans_sid was set to 1.
This means when each webpage loaded, the server scanned all hyperlinks in the HTML and automatically appended the session ID to the end of the linked to URL. This ,may affect our server performance and also can render our pages unindexable by search engines. To disable it, We need to script our PHP pages with this code:
ini_set(”session.use_trans_sid”, 0);
