. . Hong Kong Business Software Company
Expert in web-based solutions
Software House in Hong Kong

Microsoft Certified Solution Developer

 

Chief Architect's Blog on software development

6 Jul 2009
Disable Browser's Back Button
Occasionally, you may not want your visitors move back to the previous page using the browser's back button. However, there is no easy way to do that. One work-around is to create a dummy page which redirects your visitors to your actual page. The javascript of the dummy page is as follows:

<script language="javascript" type="text/javascript">
location.href="yourActualPage.htm"
</script>

I have created a dummy page redirecting visitors to the home page of this site.  You can follow this link to the home page and see the effect.  With this arrangement you cannot use browser's back button to return to this page.



more topics...  

Home | Products | Services | FAQ | Chinese version | Contact Us
© 2008 Bisware Technology Limited. All Rights Reserved.