• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session problem  RSS feed

 
Ram Subramani
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I hava a group of session objects.How can i find which session object is not a valid one?.
Thanks...
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did these session object get created?
What do you mean by "valid"?
Is the HttpServletRequest method isRequestedSEssionIdValid() what you want?
If you want to be notified when the servlet engine times out and invalidates a HttpSession object, look into the HttpSessionBindingListener interface.
Bill
------------------
author of:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!