File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Session problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Session problem" Watch "Session problem" New topic
Author

Session problem

Ram Subramani
Greenhorn

Joined: Jun 15, 2001
Posts: 1
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

Joined: Mar 22, 2000
Posts: 12267
    
    1
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:


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Session problem
 
Similar Threads
Getting session info based on Session Id
Session problem in NetBeans
controller or model
Field set in action method coming null in JSP
Session timeout in struts