>
> Bottom line is that if you have session turned on, every visitor will have
> a session.


But not until you set a session var, right?


On Fri, Feb 20, 2009 at 6:30 AM, Michael Dinowitz <
[email protected]> wrote:

>
> They do, but they are usually one shot sessions. Basically, most bots do
> not
> keep state. When it hits one page and gets a session, the next page it hits
> is treated as if it was a new visit. In other words, a new session. The
> amount of bots that keep state and have a single session were rare but are
> becoming more prevalent. When I write bots, I always write them with state
> management.
>
> Bottom line is that if you have session turned on, every visitor will have
> a
> session.
>
> On Fri, Feb 20, 2009 at 7:14 AM, John M Bliss <[email protected]>
> wrote:
>
> >
> > >
> > > It notes the more common bots (google) and assigns them a timeout of 2
> > > seconds.
> >
> >
> > I'm under the impression that bots (or just the Google bot?) don't "do"
> > sessions at all, no?
> >
> >
> > On Fri, Feb 20, 2009 at 1:44 AM, Michael Dinowitz <
> > [email protected]> wrote:
> >
> > >
> > > 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 <[email protected]>
> > > 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:319599
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to