Invalidating session on online dating websites resources and information
Calling the method with no arguments creates a session if one does not exist that is associated with the request.Additionally, calling the method with a Boolean argument creates a session only if the argument is Returns a Boolean value indicating if the session is new. IOException; public class Invalidate Session Servlet extends Http Servlet I am a programmer, a runner, a recreational diver, currently live in the island of Bali, Indonesia.
If desired, set the session to time out after being inactive for a defined time period, or invalidate it manually.
Now the solution we came across was to check after every couple of hours and all those sessions which had not been accessed in the last 30 or so min and invalidate them.
What I am going to ask you is to what would be the best way to run this session invalidating jsp?
destroys all of the data associated with the current session.
It does not unset any of the global variables associated with the session, or unset the session cookie.