Tuesday, December 20, 2011

What time is recorded as the session inactive time?

a) The elapsed time since a client request was associated with the session.





b) The elapsed time since a method was executed on the HttpSession object.





c) The elapsed time since an attribute was bound to the HttpSession object.





d) The elapsed time since any thread accessed the HttpSession object.|||I think it is option (a).





BTW, I think (b) is no different from (d), unless you look at it from a session book-keeping/management point of view. In other words, if you access an HttpSession object, you will most likely call a method on it. Also, to do (c), wouldn't you end up doing (b) too? So, (b), (c) and (d) look the same to me.

No comments:

Post a Comment