how can i make a session invalidate in java when browser is closed
as per my understanding sessions automatically expires once browser is closed
Hi deepak, Thanks,
But it happens after sometime like which we have fixed inside the web.xml file.I want to do this like banking application i.e. same userid can not login at multiple browsers/machines. if any user is using the application and closed without logout and reopened the same after 1 minute that shows the user account page fetching from session(same browser). So I wanted to make the session invalid when browser/tab is closed like gmail.
Thanks in advance, zeet
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.