I am working with a Login Page(using c#, visual studio 2008). In which a user have to enter Name and Password.
After clicking on Login, it will redirect to Home Page.. Now, if i click on Logout, it is redirecting to Log in Page. It’s fine till now.
My issue is, at this moment(after logged out) if i press Back button it is again taking me to Home Page.But, Here i want to get a message saying that
You are already logged out. Please Login again
it should not allow me to access Home page.
How to do it…?
use this code: