[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • 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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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