I am having one application with 4-5
jsp and I am maintining sessions in between all pages,I am also writing the record for the user who has loggedIn in a .properties file. Now when the user logs out then the user name should get removed from that .properties file, if he logs out properly then i can write methods to remove his name.
But how to do the same job when the user directly closes the browser or the session times out?
I need to write some code when the user session gets killed or times out.
I need some help in how and where to handle the timeout or session killing event.
any help will be regarded with high spirits.