use whos_online to check your spider killer
mlulm <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.tips |
|---|---|
| Message-ID | <83ea294fca81e1a4635a962f7915fb9e@osCommerce-Forums> |
This message was sent from: Tips and Tricks
http://forums.oscommerce.com/viewtopic.php?p=197753#197753
----------------------------------------------------------------
I have altered my includes/functions/whos_online.php so it shows the user agent for users who aren't logged in.
I changed it to
} else {
$wo_customer_id = '';
$wo_full_name = getenv('HTTP_USER_AGENT');
That way i can see what spiders are on line.
What would be better is if it would show if my sid killer caught it. I'm not sure how best to do this. I'm using the contribution for removing sids that has the seperate file with the list of spiders.
One idea I had is if when a user is a reconized as a spider whos online would show the short string from that file. That way you could see what spider it is and that it's sids were removed. If it didn't it would show the full HTTP_USER_AGENT name. That way we would quickly know if our spider killer is catching it.