I use this in my application.cfc right at top. It notes the more common bots (google) and assigns them a timeout of 2 seconds. You can use the same logic for whatever you want.
IF (REFindNoCase('Slurp|Google|BecomeBot|msnbot|ZyBorg|RufusBot|EMonitor|java', cgi.http_user_agent)) This.sessionTimeout=createtimespan(0,0,0,2); On Thu, Feb 19, 2009 at 10:22 PM, Les Mizzell <lesm...@bellsouth.net> wrote: > > In working out my Googlebot problem, I came across an idea of using > HTTP_USER_AGENT to identify a bot, and then exclude it from an area or > whatever (redirect it to www.disney.com or something... that's a joke) > ... assuming it gets in despite the robots.txt file. > > So, this looks like a good starting point to modify from: > > > http://www.bennadel.com/blog/1083-ColdFusion-Session-Management-And-Spiders-Bots.htm > > I see how to deal with bots you can identify. Can anybody think of a way > or have an example of how to figure out that it's a unidentifiable bot > (rather than a real user with a browser) and redirect/whatever? > > Just asking.... > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319590 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4