• 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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!