• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

diasbling back button in asp.net

when i press the back button in browser   im able to again  go to the login page even after  successfully logging in . how can  i  make the back button  work for the entire  site but  only upto the  login page. the back button should be disabled  as soon as i get to the first  page after login .      
0
sriraj123
Asked:
sriraj123
  • 2
1 Solution
 
sriraj123Author Commented:
im using asp.net programming
0
 
tillgeffkenCommented:
The back button of a browser can not be disabled. All you could do is check if the user is authenticated when he uses the back button to your login page and redirect him if he is.
0
 
tillgeffkenCommented:
I think i gave the correct answer to this question. But hey, It's only points :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now