|
-
Jul 21st, 2004, 02:18 PM
#1
Thread Starter
Hyperactive Member
how to disable the page if user push 'back'
I have an aspx page. A user can push 'logout' button to logout. However, after logout, if the user push 'back' botton in IE's menu, the IE will show the aspx page before logout. How can I prevent this? So, after logout, even user push 'back', it won't show the page.
thanks
-
Jul 21st, 2004, 02:20 PM
#2
dont allow a caching the pages so it forces a refresh, and the first thing you should do on any web page that a user needs to be logged in is check to see if they are logged in. Since they wont be once they have logged out, it could redirect them to the login screen
-
Jul 22nd, 2004, 10:57 AM
#3
Thread Starter
Hyperactive Member
Originally posted by kleinma
dont allow a caching the pages so it forces a refresh, and the first thing you should do on any web page that a user needs to be logged in is check to see if they are logged in. Since they wont be once they have logged out, it could redirect them to the login screen
So, does that mean the users' browser must accept cookies?
thanks
-
Jul 22nd, 2004, 11:23 AM
#4
session cookies, i think session cookies are not treated the same as regular cookies, but I am not possitive on this. I am also not positive as to how ASP.NET sessions interact on the client level, as I have just moved to .NET, but in traditional ASP that is how it worked
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|