Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

swhy do I still see "jsessionid=.." when cookies is ON

 
Artemesia Lakener
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using a struts example, I make sure cookie is on and "always accept session cookies". Then I assume the URL should not include "jseessionid" but it still. why ? Does Tomcat always use URLrewriting method to handle session tracking ?
 
Artemesia Lakener
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the problem went away. I don't see jsessionid=.. any more after I turned on the cookie.

thanks.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
URLrewriting is never done automatically by Tomcat - the programmer has to specifically provide for it.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic