PDA

View Full Version : Disabling Back Button



Barbarossa
05-13-2004, 02:28 PM
...and before anyone says "Don't disable the back button, it's really irritating", I need to stop users being able to go back and resubmitting a form (credit card payment form),

...so either I need to be able to disable the back button, or make the form be expired in some way..

Can anyone help? :blink:

[B][O][T]
05-13-2004, 02:53 PM
Why not place a link and it will open in a new window?


<A HREF="http://www.yoursite.com/form" target="_blank" new window</A>

target="_blank" = New Window

Then they cant go back.

BOT

Barbarossa
05-13-2004, 03:18 PM
Thanks, that's a good idea, but I think I'm going to try some server side scripting, as described on this site..

http://www.4guysfromrolla.com/webtech/111500-1.shtml

I'll let you know!! ;)

[B][O][T]
05-13-2004, 08:29 PM
Cool, I guess it's tricky :)

BOT