welcome Netizen

Share Your Knowledge.It is a way to achieve immortality

Monday, February 21, 2011

How to Disable Back Button in Web page?

i knew many of them could tried to disable the option of Back Button,Because if you would not disable the
user can easily go back to previous page ,so avoid this situation we can use javascript to diable the option
You can add this code in that header tag..Follow this steps

<head runat="server">
    <title>Untitled Page</title>
    <script language="javascript " type ="text/javascript" >
    window .history.forward();

i hope this helpful to u .....


Post a Comment