Another question about back button
Posted: Sat Jun 01, 2002 10:16 am
I did a search and all the topics had to do with login/logout, password protection and multiple submission of forms.
My problem is much lower level than that.
I have a series of forms created by php: selection of an item in one page creates a page for selection of subitems of the selected item, etc.
(All coming from a MySQL database.)
Each form contains a "Return" button that moves the user up one level in the chain by means of <form action=blahblah.php>.
Problem arises when user clicks the back button and gets a "This page cannot be viewed without refresh" error. Any simple way to
A) allow user to use the back button without getting that error (obviously my first choice), or
B) prevent user from using the back button (gasp!)
My problem is much lower level than that.
I have a series of forms created by php: selection of an item in one page creates a page for selection of subitems of the selected item, etc.
(All coming from a MySQL database.)
Each form contains a "Return" button that moves the user up one level in the chain by means of <form action=blahblah.php>.
Problem arises when user clicks the back button and gets a "This page cannot be viewed without refresh" error. Any simple way to
A) allow user to use the back button without getting that error (obviously my first choice), or
B) prevent user from using the back button (gasp!)