You are correct Chris.

However if you designed your application as the generic

Master-Detail-(write changes) structure 

you would merely have to use 

echo "<body onload=\"javascript:history.go(-2)\">"; to take 
you back to the master set, assuming js is turned on, and that is the flow of your app.

I mainly design in an intranet environment, and variables are more controlled here 
than in other places.

For instance, I'm sure that noone uses anything but IE, and JS is almost for sure on.


-----Original Message-----
From: Chris Boget [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 11:54 AM
To: Dan Vande More; Petre; [EMAIL PROTECTED]
Subject: Re: [PHP] Disabling Browser "BACK" button

> Page1 (fill in data)->Page2(write data, instant redirect to p1,
> unless dies from php/mysql) 
> Then the only way to repost, is to push the forward button.

Unless, of course, they hit the "Submit" button again and I think
that was the point the original poster was getting at.  If the user
cannot hit the back button, they cannot hit submit again.


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to