tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: JSessionId
Date Thu, 20 Sep 2007 22:53:42 GMT
In reality it happens anytime it finds the browser doesn't support 
cookies.  On the first request, both show up because tomcat doesn't know 
if the browser supports cookies.  On subsequent requests, it will act 
accordingly depending on how the session id comes back (cookie or req 
parameter).

--David

form post wrote:
> Question about the url parameter, jsessionid.
>
> As far as I can tell this should only appear if I have cookie disable.
>
> However, I am getting this parameter when cookies are enabled.
>
> I have a pretty simple web app. However, my index.jsp redirects to 
> page that is behind the dispatch controller.  eg. index.jsp contains 
> this line.  <c:redirect url="welcome.action"/>
>
> This causes my tomcat (version 6) to append the jsessionid to the url 
> as well as adding a cookie.
>
> Why does this happen? And how can I stop the jsessionid appearing on 
> the url.
>
> Thanks
>
> _________________________________________________________________
> Enter to win a night a VIP night out at TIFF 
> http://redcarpet.sympatico.msn.ca/
>
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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