tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rashmi Rubdi <dev_subscripti...@yahoo.com>
Subject Re: Web spiders - disabling jsessionid
Date Sun, 03 Dec 2006 23:43:27 GMT
----- Original Message ----
>From: brycenesbitt bryce1@obviously.com
>>Rashmi Rubdi wrote:
>> 
>>So the solution for Bryce would be to leave the session on on each JSP
>> page, and omit the cookies attribute of <Context which defaults it to
>> true.  
>>This should solve the problem of jsessionid for bots.
>> From my observation search bots support cookies otherwise I would have the
>>problem of jsessionid appended to URLs too.
>> 

>I'm just not getting it.
>Can someone take a look at this site, and maybe give some insight?
>http://www.citycarshare.org/howitworks.do

I looked at your site with Xenu Link Sleuth - it's just like a search engine bot.

There are a number of broken links but anyway, they have jsessionid attached to them, this
is because you have set cookies to false!

http://www.citycarshare.org/wn_0017.do;jsessionid=3ADBAD932904C77693CC14F5A13AA308
error code: 404 (not found), linked from page(s):
 http://www.citycarshare.org/whatsnew.do;jsessionid=3ADBAD932904C77693CC14F5A13AA308
http://www.citycarshare.org/wn_0017.do;jsessionid=5D59DBFAB3044078247B2AB780F9F342
error code: 404 (not found), linked from page(s):
 http://www.citycarshare.org/whatsnew.do
http://www.citycarshare.org/wn_0018.do;jsessionid=3ADBAD932904C77693CC14F5A13AA308
error code: 404 (not found), linked from page(s):
 http://www.citycarshare.org/whatsnew.do;jsessionid=3ADBAD932904C77693CC14F5A13AA308
http://www.citycarshare.org/wn_0018.do;jsessionid=5D59DBFAB3044078247B2AB780F9F342
error code: 404 (not found), linked from page(s):
 http://www.citycarshare.org/whatsnew.do
http://www.citycarshare.org/wn_0019.do;jsessionid=3ADBAD932904C77693CC14F5A13AA308
error code: 404 (not found), linked from page(s):
 http://www.citycarshare.org/whatsnew.do;jsessionid=3ADBAD932904C77693CC14F5A13AA308
http://www.citycarshare.org/wn_0019.do;jsessionid=5D59DBFAB3044078247B2AB780F9F342
error code: 404 (not found), linked from page(s):
 http://www.citycarshare.org/whatsnew.do




>Or at 216.93.188.140 you can see a test intance which has the following
>ROOT/META-INF/context.xml
>   <?xml version='1.0' encoding='UTF-8'?>
>   <Context path='/' cookies="false">
>   </Context>

You need to set cookies to true, set cookies to true and try it again with Xenu Link Sleuth.



>I am 1000% certain that not all bots browse with cookies, at least not all
>the time.  

There is *no harm* in giving this a try. You can't be sure until you try.

 Set cookies to true or leave off the cookies attrbute, then check with Xenu Link Sleuth or
some other bot simulator.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message