tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Slominski <bernhard.slomin...@zooplus.com>
Subject AW: Removing session id from url links
Date Thu, 22 Sep 2005 14:31:00 GMT
The session ids in the URL (URL Rewriting) are only used when cookies are
switched off as a fallback, so when cookies are switched on on your machine
you shouldn't see the session Id in the URL.

When you don't need a seesion on your page you can use this page directive
to switch off the session, so you won't have anything in the URL:
<%@ page session="false" %>

Cheers

Bernhard

> -----Urspr√ľngliche Nachricht-----
> Von: Assaf [mailto:assafn@yahoo.com]
> Gesendet: Donnerstag, 22. September 2005 13:40
> An: Tomcat Users List
> Betreff: Removing session id from url links
> 
> 
> Hi,
> 
> I have a problem with tomcat displaying urls on my
> site that include the jsessionid attached at the end.
> This is particularly a problem with search engine who
> crawl the site and index the page including the
> session id.
> 
> Is there a way to disable it? 
> 
> I am also using struts <html:link> so that might be
> the place to disable.
> 
> Cheers,
> 
> Assaf
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message