Hello all,
I see a lot of my sites pages results in some search engines with the ?PHPSESSID= at the end of the page. Is there any way to make it so when the search engine spiders, it omits the ?PHPSESSID=?
Thanks,
Tim
Search Engines and "?PHPSESSID=" results
Moderator: General Moderators
- trukfixer
- Forum Contributor
- Posts: 174
- Joined: Fri May 21, 2004 3:14 pm
- Location: Miami, Florida, USA
Code: Select all
ini_set("session.use_trans_sid" ,"1");php.net wrote: session.use_trans_sid boolean
session.use_trans_sid whether transparent sid support is enabled or not. Defaults to 0 (disabled).
Note: For PHP 4.1.2 or less, it is enabled by compiling with --enable-trans-sid. From PHP 4.2.0, trans-sid feature is always compiled.
URL based session management has additional security risks compared to cookie based session management. Users may send a URL that contains an active session ID to their friends by email or users may save a URL that contains a session ID to their bookmarks and access your site with the same session ID always, for example.