Answered by:
how to forbid go back

Question
-
User-268380683 posted
hi every1,
i wanna lock user to go back,i made some searches but could not find anything.I hope you will show me how to do that.
The reason i am locking users is :
i am making a quiz creation page.in that page there is a two button controls next question or finished.
when next is clicked i dont want anyone to go back.this is as it is simply.thanks...
Sunday, March 29, 2009 2:19 PM
Answers
-
User289008742 posted
Visit this ... he discussed the same thing !!! We can prevent user not to go back !! but we cannot disable the back button.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, March 29, 2009 5:06 PM -
User1281381861 posted
Hi, sincemcmv
Same thing is discussed at Please Refer that
http://forums.asp.net/p/988468/1517218.aspx#1517218
http://forums.asp.net/p/1268556/2549230.aspx#2549230
http://forums.asp.net/p/1305453/2557668.aspx#2557668
http://forums.asp.net/p/1380795/2919219.aspx#2919219
http://forums.asp.net/p/1231700/2224506.aspx#2224506
http://forums.asp.net/t/989339.aspx
http://geekswithblogs.net/vivek/archive/2007/02/24/107148.aspx
http://www.codeproject.com/KB/aspnet/NoCaching.aspx- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, March 30, 2009 2:50 AM
All replies
-
User334174592 posted
<script language="JavaScript">
<!--
javascript:window.history.forward(1);
//-->
</script>This causes the back button to navigate back one page and forward again.
Sunday, March 29, 2009 2:52 PM -
User-268380683 posted
i think i could not expressed my self clearly.i dont wont users go back,if they click on the back button i want to warn them that then cant go back or smthng else .thanks.
Sunday, March 29, 2009 3:10 PM -
User334174592 posted
i think i could not expressed my self clearly.i dont wont users go back,if they click on the back button i want to warn them that then cant go back or smthng else .thanks.
If you can disable the button then yes that will work. However, if you cannot (I could not figure it out) this will have the same result.
Sunday, March 29, 2009 3:26 PM -
User289008742 posted
Visit this ... he discussed the same thing !!! We can prevent user not to go back !! but we cannot disable the back button.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, March 29, 2009 5:06 PM -
User1281381861 posted
Hi, sincemcmv
Same thing is discussed at Please Refer that
http://forums.asp.net/p/988468/1517218.aspx#1517218
http://forums.asp.net/p/1268556/2549230.aspx#2549230
http://forums.asp.net/p/1305453/2557668.aspx#2557668
http://forums.asp.net/p/1380795/2919219.aspx#2919219
http://forums.asp.net/p/1231700/2224506.aspx#2224506
http://forums.asp.net/t/989339.aspx
http://geekswithblogs.net/vivek/archive/2007/02/24/107148.aspx
http://www.codeproject.com/KB/aspnet/NoCaching.aspx- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, March 30, 2009 2:50 AM -
User-268380683 posted
these would do my job thanks
Monday, March 30, 2009 8:04 AM