• Post Reply Bookmark Topic Watch Topic
  • New Topic

question about session invalidate()  RSS feed

 
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
Boost this thread!