Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about session invalidate()

 
Romy Huang
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I HttpSession.setMaxInactiveInterval(-1), May I use invalide() to expire the session? Thanks.
 
Colin Fletcher
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried to write a servlet with the set max and then invalidate ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic