Re: Web spiders - disabling jsessionid

2006-12-02 Thread brycenesbitt
Mikolaj Rydzewski-2 wrote: > > Hi, > As you may know url rewriting feature is not a nice thing when spiders > come to index your site - > http://gabrito.com/post/javas-seo-blunder-jsessionid. > I'm having trouble with JSESSIONID with search engines Google, Accoona, Alexa and Exalead. My appr

Re: Web spiders - disabling jsessionid

2006-12-02 Thread brycenesbitt
Christopher Schultz-2 wrote: > > Perhaps that is the /quickest/ solution, but I would argue that the best > solution is not to create a session if you don't actually need one. > The problem in many cases is the author does not care about sessions at all! Creating semicolon-based URL strings i

Re: Web spiders - disabling jsessionid

2006-12-02 Thread brycenesbitt
Google's index has 33.4 million pages with a jsessionid: http://www.google.com/search?hl=en&lr=&q=inurl%3Ajsessionid&btnG=Search Many of those are duplicates (no different other than the jsessionid). -Bryce Nesbitt -- View this message in context: http://www.nabble.c

Re: Web spiders - disabling jsessionid

2006-12-03 Thread brycenesbitt
Rashmi Rubdi wrote: > > As discussed previously in this thread you can turn jsessionid in the URL > off easily by setting the cookies attribute of http://tomcat.apache.org/tomcat-5.0-doc/config/context.html > No option seems to match the need: true -- uses URL-rewriting if the browser does n

RE: Web spiders - disabling jsessionid

2006-12-03 Thread brycenesbitt
Caldarale, Charles R wrote: > > Try turning off cookies in your browser. > Sorry for the lack of clarity. I can't force jessionid to show up even with cookies off in the browser. Using wget from the unix command line (no cookies!) I get a jsessionid for images: /images/logo.gif;jsessionid=C0

RE: Web spiders - disabling jsessionid

2006-12-03 Thread brycenesbitt
Caldarale, Charles R wrote: > >> From: brycenesbitt [mailto:[EMAIL PROTECTED] >> Subject: Re: Web spiders - disabling jsessionid >> Creating semicolon-based URL strings is the default in >> Tomcat/Struts. > > I don't know about Struts, but that's

Re: Web spiders - disabling jsessionid

2006-12-03 Thread brycenesbitt
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 true. > This should solve the problem of jsessionid for bots. > From my observation search bots support cookies otherwise I would have the > problem of jses

Re: Web spiders - disabling jsessionid

2006-12-03 Thread brycenesbitt
Rashmi Rubdi wrote: > > I don't know because this problem doesn't happen in my case, on 2 > different web applications. > > Bryce should really test his case by setting cookies="true" or remove the > cookies attribute and test his links with Xenu to see if he still gets > jsessionid with Xenu.

Re: JSessionId and Google

2006-12-04 Thread brycenesbitt
Simon-76 wrote: > > Thanks, I could try this, but I was kind of hoping for a more general > Tomcat > solution (if there is one). I know Resin has a 'enable-url-rewriting' flag > that you can set in it's config. > > I guess the question still is, does anyone definitively know if jsessionid > doe

Re: JSessionID

2006-12-04 Thread brycenesbitt
Jason Oullette wrote: > > How does tomcat decide if the JSessionID will be put in a cookie or in the > post header(url rewriting)? > If the "Cookies" attribute in the context is false, then Tomcat rewrites the URL. If the "Cookies" attribute in the cotext is true, then Tomcat uses either cooki

Re: Why can the JSESSIONID name not be changed?

2006-12-05 Thread brycenesbitt
Stefan Bethke wrote: > > Hi, > I hope this is the right list to ask; if not, please direct me to a > better place... > > We're currently integrating a couple of web sites under a single > domain. Some of the sites run on separate Tomcats, others use PHP, > Perl or a number of proprietar

Re: Why can the JSESSIONID name not be changed?

2006-12-05 Thread brycenesbitt
Christopher Schultz-2 wrote: > > And why only in MSIE? > > Stefan also needs to understand that these cookies also have "paths" > encoded into them, so that that do not interfere (as long as the paths > themselves do not interfere). > > - -chris > MSIE processes the "paths" differently than

Re: Tips needed: restarting tomcat without risk of java.net.BindException

2007-03-30 Thread brycenesbitt
it's available. Unfortunately our OS holds on to ports until a few seconds after the process dies (waiting for the remote connections to terminate, presumably). brycenesbitt wrote: > > We have a Tomcat application, which binds to port 8080 and AJP 6135. At > 3 am we restart this app

Re: Tips needed: restarting tomcat without risk of java.net.BindException

2007-04-02 Thread brycenesbitt
Odd. I call shutdown and start in the same thread (so shutdown completes before the startup happens). AFIK, shutdown actually does shut down the java process. If shutdown is not meant to shut down the java process, what does it do? Filip Hanik - Dev Lists wrote: > > the problem you are havin