Can I set the browser to jump to the specified page when "back?

Source: Internet
Author: User
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 ').

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.