permaculture playing cards*
The moose likes Servlets and the fly likes is it normal for jsessionid ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

is it normal for jsessionid ?

Artemesia Lakener
Ranch Hand

Joined: Jun 21, 2005
Posts: 162
I use "isRequestedSessionIdFRomURL" and "isRequestedSessionIdFromCookie" to check where the jsessionid is from. By the way, I use encodeURL(). It surprises me that no matter if I disable the cookie from client side (I don't have to restart machine for this, right ?), the first time I open a browser it shows the id is from URL and it appends a jsesionid=.. for me. when I go back to the 1st page and hit refresh, then it shows the id is from cookie and that "jsessionid=.." disappears.

is this normal ?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Related to this thread. I don't think we need two copies running at once.
 
GeeCON Prague 2014
 
subject: is it normal for jsessionid ?