In my SQL database I have all user/login information like users, roles, permissions etc. So I have one web form with Login data: username and password. When user click button OK I check in my database that user, and if it is ok I redirect him to another page.
I wonder, when I say Logout I redirect user to Login form, but how to kill variables, how to prevent user to click Back in the browser etc. What I have to write in code for Logout event?
I wonder, when I say Logout I redirect user to Login form, but how to kill variables, how to prevent user to click Back in the browser etc. What I have to write in code for Logout event?