Then I pest that URL on different tab then my page is coming.
I am using below code for detecting browser close event and then invalidate session.
I write all the above headers and then invalidate the session.
after performing logout operation the page is forwarded to login page,then i press back button of the browser and it shows the dashboard or last page from where i perform the logout help or should post another question for it ?
Output: while opening display page, all the attributes are getting displayed on client (browser).
, what it takes me to a new window showing a chart, just for the purpose of display some graphics.
May be on form load you can have an AJAX heart beat to check if your still in active session that can beat the browser cache.
Lets understand this with the help of an example: In the below example we have three jsp pages.
In order to load a page you have to have a window....
I require this functionality wherein when the user clicks on the back button of the browser, the session is invalidated and an error page is shown.
If I close the browser , then session will not be invalidated and i cant relogin.
is been set to 180 seconds and I want it like that only.