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”
- 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
- How to fake a WordPress login?
- 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
- $_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
- My custom write panels won’t save data. What am I missing?
- Unique session WordPress
- Unable to successfully verify nonce
- javascript ajax and nonce
- Custom $_SESSION expires too early
- Store and Change Session variable – PHP SESSION VARIABLE
- PHP session when called wp_ajax_nopriv
- Error when setting cookie
- Add session or cookie to remember last menu location
- Replacing a placeholder term with a session variable value in taxonomy filter
- How to obtain “wp_rest” nonce for WP Statistics plugin manually?
- Set cookie parameters on wp site – PHP not working?
- Plugin or ways to limit number of users logging in the website,
- Restricting wordpress login sessions for a web app
- CSP nonces with Cloudflare Workers
- Correct user session/cookie handling with external site connection in wordpress
- Requiring a Visitor to Enter a Password Each Time They visit a Page
- after logout session not destroy from server/website side
- Best hook for when a user session ends?
- Pass WordPress variable to the next page
- How to destroy all user sessions via WP-CLI
- check_admin_referer not working in custom meta box for custom post type
- wp_nonce for Front-End submission form not working
- wp_verify_nonce fails always
- custom metabox nonce verification fails
- How to use nonces for frontend AJAX voting if the page gets cached?
- Using Nonce for my Form
- User not logged first time I open the homepage
- Where are Sessions are being started? [closed]
- WordPress & PHP sessions
- How to limit user to login only once per session
- Suddenly sessions and header location not working
- Logout button in menu without “wp” in links