tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From formpost <formp...@hotmail.com>
Subject Re: JSessionId
Date Thu, 20 Sep 2007 23:52:42 GMT

If that is the case, surely the browsers request to the tomcat to server
index.jsp would tell tomcat that cookies are enabled.


David Smith-2 wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/JSessionId-tf4490677.html#a12808205
Sent from the Tomcat - User mailing list archive at Nabble.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