Re: session.use_trans_sid = 0 does not work!!!
| From: | Marcus Merz | Date: | Sun, 13 Jun 2004 08:37:52 +0000 |
| Subject: | Re: session.use_trans_sid = 0 does not work!!! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188182@lists.php.net to get a copy of this message | ||
Hi James,
"James Harrell" <jharrell@copernicusllc.com> schrieb im Newsbeitrag
news:FHELIIHLFCGNIJGPHNNMKEFPEFAA.jharrell@copernicusllc.com...
[...]
> If you want to forcefully remove this PHPSESSION (which is sometimes
> a good idea since search engine spiders will catalog the links with
> the session id if you don't remove it), try this:
>
> ini_set("session.use_only_cookies","1");
If this is not an option and you still want to not have session id's
appended when a searchengine robot comes to your site, you could detect the
UA and just do not start a session in that case.
> James
Regards,
Marcus