File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes iPlanet sessions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "iPlanet sessions" Watch "iPlanet sessions" New topic
Author

iPlanet sessions

raj sekhar
Ranch Hand

Joined: Oct 16, 2001
Posts: 117
Guys
Is there a way that I can get the size of the session of a user at any point of time while he is logged in?
Raj
faisal mahmood
Ranch Hand

Joined: Nov 30, 2000
Posts: 349
You can use the getMaxInactiveInterval() and setMaxInactiveInterval(int interval) methods of javax.servlet.http.HttpSession.
An example is:
request.getSession().getMaxInactiveInterval()
Hope that helps,
Faisal
Gerry Giese
Ranch Hand

Joined: Aug 02, 2001
Posts: 247
Raj, do you mean session memory usage, or as Faisal interpreted, session time left? Either way, I'd have to research it to find out.


CJP (Certifiable Java Programmer), AMSE (Anti-Microsoft Software Engineer)
Author of Posts in the Saloon
raj sekhar
Ranch Hand

Joined: Oct 16, 2001
Posts: 117
Gerry
Yes, I wud like to know the mem usage for a particualar session.
Faisal
Thanks but if I didnt get my question clear the first time, here it is now.
Thanks
Raj
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iPlanet sessions