javascript-php How to resolve Refresh page form repeat submission??

Source: Internet
Author: User
How does php resolve the Refresh page form repeat submission?? What do you need to do??

Reply content:

How does php resolve the Refresh page form repeat submission?? What do you need to do??

Commit ID

Add a hash to judge the

When rendering the page using the session to generate 1 hashes, and then commit the time to submit the hash value to do the match, if inconsistent that is repeated commit.

Checktoken

Add version control on the line, a simple function, such as Java many frameworks are provided by large PHP is also available, such as the YII2 framework

  • 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.