deadlock Message Board
[ February Full List | Reply ]

Re: Websites that disable back button
From Shalini on 14 Dec '00
replying to Re: Websites that disable back button posted by Rahul

Hello R. Laxman, I tried inserting your script in the header but nothing happened. How do I invoke it. I can still press the back button.

Sometimes it is important to disable the back button especially when processing credit card transactions or
when programming for online purchases to stop the user from causing duplicate or invalid transactions
in your databases. I need to know how to do this. Thanks


>Check out this add the following code in <Head></Head>
>
><script language="Javascript">
><!--javascript:window.history.forward(1);
>
//--></script>
>
>
>
>
>>Hi
>>How to disable the back button of the browser?
>> from:
>>R.Laxman




Reply to this message

Required Details
Your name:
Subject:

Optional Details
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)

Your Message