How to manage session for logout page
Firstly we have create a
than Check a
if(session != null)
We can use in these ways
2. To sign out with specified time out..
In web.xml We can configure like for 20 minutes Timeout
Just destroy session id by session.invalidate() on click of logout button.
What is needed to know about programming to create the basic fundations of a video game?
Mr singh : what you have to create is a session after successful login action , during logout clear (delete) that session as simple as that.
But if ur problem is like after logout pressing back button in browser redirects to ur web app then that was just cached page.
You should implement pragma no-cache header in response.
Ye answer kya hai...