Page 1 of 1

Disabling back/forward buttons

Posted: Wed Aug 27, 2008 7:32 pm
by Sheridan
Is there a way of disabling the browser back/forward buttons using PHP? Or is there a way of destroying the memory or history that the back/forward buttons use to traverse previously visited pages?

Re: Disabling back/forward buttons

Posted: Wed Aug 27, 2008 7:49 pm
by califdon
Certainly not with PHP, which is server side scripting. You would need to consult the DOM of the browser to know whether it could be done with client side scripting. I hope it cannot.

Re: Disabling back/forward buttons

Posted: Thu Aug 28, 2008 12:06 am
by Bill H
It can, but it's only done by programmers from hell, and I doubt anyone on this board is going to help you do it.