Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

About jsessionid  RSS feed

 
kira yamato
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I was wondering if any of you down here knows how to remove the jsessionid
as it was appending at the back of the url

Something like this, http://localhost:8080/project/index.jsp;jsessionid=xxxxxxxxxxxxxx

where xxxxxxx are just numbers...

so is there anyone who knows how to remove it ? simply don't show it in the url
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use POST method instead of GET.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use cookies to pass the sessionID instead of using URL rewriting, or turn off sessions completely.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!