asp.net vb.net prevent back page in browser

How can prevent user go back page in browser.
rflorencioAsked:
Who is Participating?
 
aprestoConnect With a Mentor Commented:
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 SebastianConnect With a Mentor CTO & OpenERP Project managerCommented:
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.

All Courses

From novice to tech pro — start learning today.