Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on asp within the VB.NET forums, part of the Software Development category; may i know the coding when the logout button clicked how the back button of the browser ll be disabled??????...
|
|||||||
|
|||
|
Re: asp
There are few ways it can be handled...
if you are setting session variable on login, you can set to nothing since you will be checking on all the pages to see if the user is authenticated ... another option is expire the current page .. Response.Expires = 0 Response.Cache.SetNoStore() Response.AppendHeader("Pragma", "no-cache") with this user should get page expired message if he tries to use back button... Let me know how it goes.. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|