Nonces are not the way to solve your problem. You’re using it correctly. I would look at the $wpdb->insert array you’re probably using, and implement a check for data to exist that matches the proposed “new” entry.
I actually set up a Twilio SMS to fire off when weird validation errors are encountered. I have it text me a message and the database row id. I usually know about the problem while my client is still on their device having trouble. They think I’m magic when I text them and ask if they’re having an issue.
Related Posts:
- PHP 7.2 – Warning: count(): Parameter must be an array or an object that implements Countable
- Sticky and NON-Sticky sessions
- Session timeout in ASP.NET
- Authentication: JWT usage vs session
- How to use my own custom session value in WordPress?
- achieving login implementation without using sessions
- Extend WordPress (4.x) session and nonce
- Destroy user sessions based on user ID
- Enable WordPress Sessions
- Handling nonces for actions from guests to logged-in users
- Where is the wordpress session stored?
- Share session between my site and WP blog [closed]
- How to get outside login data (session) in WordPress?
- Session problem in PHP – trying to create a simple CAPTCHA
- Multi-instance WordPress usingn Memcached to handle sessions requests login every time a requests is handled by a different server
- Would this be achieveable?
- Using session in WP without trouble with the API REST
- Plugin is attempting to start a session with WordPress. WP Session Manager will not work! DomPdf
- Session is not working properly
- Retrieve parameter from url
- Session constantly resets variable
- sharing the same cookie session with multiple wordpress installs on the same domain?
- How to check if the user was redirected?
- Session stays active until page update in dashboard
- Parsing session info between WordPress and non-WordPress
- $_SESSION dosent’t work
- How to use cURL to send Cookies?
- “Cannot send session cache limiter – headers already sent”
- Session variables not working php
- Do I need a nonce field for every meta box I add to my custom post type admin?
- Can I use the same nonce for multiple requests on the same page?
- Removing username from the ‘wordpress_logged_in’ cookie
- Are transients private or public?
- Is it possible to transfer a WordPress session to a different browser via query string?
- Nonces and Cache
- AJAX nonce with check_ajax_referer()
- Allow up to 5 Concurrent Login Sessions
- What is nonce and how to use it with Ajax in WordPress? [duplicate]
- Getting “The link you followed has expired” when adding custom post [closed]
- share login/logout sessions across two installs?
- Using nonce external of WP Admin
- Nonce best practices: hidden input vs. wp_localize_script?
- Headless WordPress: How to authenticate front end requests?
- Nonces and Ajax request to REST API and verification
- How to stop _wpnonce and _wp_http_referer from appearing in URL
- How do I extend auto logout on idle OR redirect inline popup
- $_SESSION variables lost during OAuth callback
- 2 different post->IDs for single page load only in Firefox
- how to logout user on browser tab or window closes
- Custom query form submission pagination
- wp_verify_nonce doesn’t return true on server when it matches the nonce
- Site Health : An active PHP session was detected
- Verify Nonce returns false – Request Nonce returns correct value
- wp-admin AJAX with Fetch API is done without user
- WooCommerce: Change default country on the cart page [closed]
- Trigger a function immeditely after a user posted a comment
- permission_callback has no effect
- WP REST API – Nonce passes wp_verify_nonce even after logout
- Disconnect automattically after X minutes
- Use of check_admin_referer with theme options and options.php
- “The link you followed has expired” & “Error while saving” messages when adding new post
- How to implement a $_SESSION alternative in WordPress inside a theme without a plugin?
- SSO autologin WordPress + Ajax
- WordPress Keeps Logging Out – What Tests Can I Run to Solve This?
- Is nonce in PHP form and Ajax both necessary?
- How to store post ID’s in cookie or session to display the same posts later
- Nonce fails on ajax save
- Login/Logout Session Sharing – Multiple WordPress Installations
- Disallow second login session
- Permalink structure with $_SESSION variables
- wp_nonce_field displaying twice
- Front end ajax user login session issue
- Display if author page is author page of current user
- How to change WordPress cookies to be session-only
- WordPress JSON API nonces and Vue development server
- Backbone with custom rest endpoints
- phpcs error in WordPress
- The session works on the local server, but not on the web server
- Saving custom data via ajax with nonces
- Deleting expired session tokens in WordPress
- Authorize subdomain to access and read user and admin cookies
- WP_List_Table Inside Metabox With Bulk Actions Not Working on Submit
- Using sessions or an alternative in a plugin
- whether a nonce is required for get type and get_query_var?
- Unable to update plugins or log out
- Does it make sense to check a nonce on user log in?
- Register rest field authentication with REST API
- Looking to load a different template part on every load/refresh
- Allow user to select location and then set cookie for location in WordPress
- How to create session for user which is not an admin user
- How to ‘remember’ a site member’s last visited page?
- Create nonce in frontend page to edit profile
- Session alternative for plugins (due to caching)
- Using a Cron Job to dynamically populate a field ONCE, and then making the field blank the next time someone visits page
- Nonce check causing issues when creating new post
- Sessions in word press [duplicate]
- WordPress wp_localize_script nonce and ajax URL
- How to dynamically change the locale?
- Recognize logged WP user in existing REST API
- Is there a solution to expired nonces in forms when using full page caching that doesn’t involve configuring the cache?