Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 649
  • Last Modified:

asp.net vb.net prevent back page in browser

How can prevent user go back page in browser.
0
rflorencio
Asked:
rflorencio
2 Solutions
 
aprestoCommented:
It is not possible to disable the back button.
But if you want to get around it you can use this in the top of the page you dont want to be browsed back to:
<script>
history.forward();
</script>
However, i wouldnt suggest it, i find nothing more frustrating that wanting to go back and not being able to
0
 
Sinoj SebastianCommented:
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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