After googling this for a while, I've failed to get a "clear" answer, but what I've gleaned so far is...
Bot's like googlebot etc are stopped by cookies being set (and in turn session id's as 'cookies') Can anyone confirm this?
So it would seem that using a condition of "if user agent ! =preg_match array(bot_name) of bot names don't start_session();
else start_session();"
I've done some testing using the lynx browser which I've heard is a good place to test your site for spider-bot compatability.
When using session_start() lynx stopped and asked me if I wanted the cookie, so I guess a spider would stop to?
Thanks for any input you may have.
- dstefani
Spiders blocked by cookies
Moderator: General Moderators