• Post Reply Bookmark Topic Watch Topic
  • New Topic

why sometimes SessionBindingLister is not working

 
lily zou
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, there
I am using HttpSessionBindingListener to clean up user information in database when session is being destroyed ( either time-out or by user clicking logout explicitly ). It works fine most the time but fails occasionally. If this happens, the same user will not be able to login again. It is very annoying.
I am wondering what is the most likely reason for it not to work? Is there any people having similiar experience ?
Thanks in advance.
Lily
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I feel sure that HttpSessionBindingListener works correctly when the session is destroyed. Maybe you should ask why the session is not getting destroyed, or why your listener code is not executing as expected.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!