Forum Moderators: open
I need to continue using them, but want to set them to ignore bots crawling the site.
Any tips, suggestions or resources would be greatly appreciated.
Thanks,
<snip>
[edited by: engine at 5:08 pm (utc) on Oct. 27, 2003]
[edit reason] No sigs, thanks. See TOS [webmasterworld.com] [/edit]
Not sure what language your script is in. If it's written in PHP, you can grab the UA string by using: $_SERVER['HTTP_USER_AGENT']. Then just use a string function to check whether that UA contains one of the bots in your list. If it does, don't serve it a session id. Some scripts are written so they won't work without a session. Hopefully, yours isn't like that.