Can I set the browser to jump to the specified page when "back? I did some operations in a PHP page, such as saving data, and then jumped to another page. However, if you go back in the browser, you can go back to the previous page after the meeting and then repeat the operation. Is there any way to avoid this problem?
Reply to discussion (solution)
Yes, the browser does not save the history. even if the "back" list is empty, the "back" function is blocked in name.
Yes, the browser does not save the history. even if the "back" list is empty, the "back" function is blocked in name.
Thank you for your answers. I would like to ask if it is too stiff and odd to allow users to withdraw. how can this problem be avoided on mature websites, how can I put the operation on a separate page without displaying the interface design?
When a new window is opened, the user will be blocked from moving back.
After saving the data, use location. replace ('new page ').