Am 03.06.2007 um 10:29 schrieb Denis Frolov:
Another idea is using one common session for all the spiders. It
should be pretty easy to add a method to Browser object like
"isRobot()" which checks user agent against a known list of spiders
and use this method to feed one session to all the spiders.
Well, what good fortune that there was some code floating around...
Modified Files:
ERXBrowser.java ERXBrowserFactory.java ERXBasicBrowser.java
Log Message:
little bit saner browser creation (cached by ua string), added robot
matching
Adding it to app.createSessionForRequest() is left to the user, you
may need to write a pool and check out/in if you run MT.
Cheers, Anjo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]