• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Handling

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to be sure if all session related situations are taken care of. I did the following and please comment:
Once a user successfully logs on, I code this way:

when a user clicks on the logoff buttion, I code this way:

I do not implement HttpSessionBindingListener because I do not want to save any information in case the session expires. Nonetheless, each time the user sends a request, I do some checking:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic