Post by:Madhav Lakkapragada
"sirishareddy" your user name doesn't agree with the javaranch guidelines. please take a moment and re-register after reviewing the guidelines at http://www.javaranch.com/name.jsp thanks for your cooperation. - satya
Post by:Sarath Mohan
Hello Sirisha, You can use HttpSession for user Inactivity. Bin
Post by:Jessica Sant
Originally posted by binu kavumkal: You can use HttpSession for user Inactivity.
-- but this won't display a message in the inactive browser -- HTTP is stateless -- your server can't randomly contact browsers who made requests to it previously. I don't think what you want is possible. The best you can do is to invalidate the session after a certain period (check session.setMaxInactiveInterval() ) and if the person tries to contact the app after their session has been inactivated, redirect them to a login screen. ------------------ - Jessica Bradley HP Bluestone
You can't expect to wield supreme executive power just because