Yes you can do stuff like that. I have my error handler filter out 
bot-related errors and errors of certain types (like the infamous "
java.net.SocketException: Connection reset by peer:") so I am not bothered 
with them. Same thing could be applied here
 I keep a simple text file that holds a list of ill-behaved bots. I read it 
into an array and loop over the array looking for a match. If I get one...
 Since you are doing this on every page call it would make more sense to 
hold the bot list in an application variable, or maybe a db and just cache 
the botlist query for 10 minutes or so. That'd be even simpler.

-- 
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com <http://mysecretbase.com>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215811
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to