Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a feature to prevent duplicate POSTs #870

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Dec 21, 2013

  1. Add a feature to prevent duplicate POSTs

    This patch adds an activity token to the page (if the
    <?php activity_token(); ?> is added to a PHP template inside of a form with
    method="post"). When the request is sent to the server, the server will
    confirm the current activity token in the user's session with the activity
    token sent in the request. If they match, then the request represents new
    activity. If they do not match, the request is likely a repeat.
    
    The token is rolled each time it is checked, regardless if the activity
    token represents new or repeat activity.
    Jared Hancock committed Dec 21, 2013
    Configuration menu
    Copy the full SHA
    c5508ec View commit details
    Browse the repository at this point in the history