• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling methods on an invalid HttpSession

 
Neil Mc
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once an HttpSession has been destroyed (e.g. by calling mySession.invalidate()), will calling any of its methods lead to an IllegalStateException. I know that calling isNew() or getAttribute() will cause the exception and I'm wondering if this is the case with all that classes methods.

Thanks,

Neil.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic