Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iPlanet sessions

 
raj sekhar
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
raj sekhar
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic