Disabling back/forward buttons

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Sheridan
Forum Newbie
Posts: 18
Joined: Sat May 31, 2008 1:50 pm

Disabling back/forward buttons

Post 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?
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Disabling back/forward buttons

Post 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.
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Re: Disabling back/forward buttons

Post 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.
Post Reply