Invalidating session on
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. A Remedy Single Sign-On (Remedy SSO) administrator can invalidate the session of a user.However, the user must enter the credentials at the Remedy SSO login page when the user accesses a BMC application integrated with Remedy SSO.We have already seen invalidate() method in session implicit object tutorial. Here we will see how to validate/invalidate a session.A session must be invalidated when the maximum time set for that session elapses.For example, if a maximum session time has been set for a user for a longer period (for example, several months) and the user has left the organization before that.In the case of OAuth, the session token might have been valid for a longer duration and hence session invalidation might be needed.After a session is invalidated, the user is not informed or logged off from the applications.
It would be like a snowball affect till finally the AS would crash.Lets understand this with the help of an example: In the below example we have three jsp pages.Output: while opening display page, all the attributes are getting displayed on client (browser).We are running our web application on wbesphere App Server.And we came across this problem where WAS stopped invalidating the sessions once they timed out.
Search for invalidating session on:
Calling the method with no arguments creates a session if one does not exist that is associated with the request.