close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Google reCaptcha v3 timeout problem

Thread began 1/31/2021 6:26 am by Mags | Last modified 2/02/2021 10:25 am by Mags | 2664 views | 12 replies

Mags

Thanks for much for this. I've attached an example of a page which works, however as I said if you take longer than 2 minutes or so to fill in the form it doesn't send the email to the client and doesn't log in the database. It does display the success message and send the confirmation email.

There's a thread here about the problem with the reCaptcha token expiring: https://stackoverflow.com/questions/51507695/google-recaptcha-v3-example-demo/60036326#60036326 - if you scroll down to the post that says:

"I am generating a google Recaptcha token at the client side at every 3 seconds of time interval because the token is valid for only a few minutes that's why if any user takes time to fill the form then it may be expired", it gives a working code example. I copied that as-is and it does work, but I I can't figure out how to integrate my existing code with it. Seems to me it should just be a case of adding something to the Javascript to force it to renew the token every 3 seconds but my Javascript knowledge isn't good enough!

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...