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

sendRedirect has jsessionid appended. how to remove ?

 
Artemesia Lakener
Ranch Hand
Posts: 162
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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()
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic