This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

sendRedirect has jsessionid appended. how to remove ?  RSS feed

 
Artemesia Lakener
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use "response.sendRedirct(URL) to direct my page to another place. I use session too. However, the URL I see is URL;jsessionid=..
Since I *just* want to redirect to a standalone page which should NOT get involved with any session, how do I make sure the directed URL has no "jssessionid=.." appended ?
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you redirect to a different domain? What's servlet container you use?
 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can set session=false in your jsp.
or you in your calling action method or in previous jsp. set session.invalidate()
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!