Re: How to avoid innumerable sessions being created by robots
Re: How to avoid innumerable sessions being created by robots
- Subject: Re: How to avoid innumerable sessions being created by robots
- From: Anthony Paras <email@hidden>
- Date: Mon, 07 Mar 2005 12:36:39 -0500
> However, because anyone visiting <http://www.nwSufis.org>,
> automatically gets a Session created, I'm seeing more than a 100
> sessions shown in JavaMonitor, due, I believe, to the search engines
> etc. sending robots to the site.
One approach I've used...
Override performAction
Look at the user agent header to see if it's a robot
If it's a robot, set the session timeout to a small number like 1.
- Tony
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden