• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session.invalidate() VS Session.logout()

 
as ch
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP provides these to methods for destroying session.
I want to know what are the difference in these two and which one is preferred?
 
Omar Al Kababji
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there is no logout(); method in the HttpSession interface. what application server are you using?? are you talking about the javax.servlet.http.HttpSession ??
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"as ch", please check your private messages for an important administrative matter.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!