I am using java web application jsp/servlet. If the user closes the browser without logging out from a specific page, the session is not invalidated automatically:
- login to application
- go to specific page and copy that page url
- close the browser
- open again browser and paste the url that you have copied in 2nd step.
result: user can access same url expected: user must not access url once browser is closed.