--
You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+...@googlegroups.com.
To post to this group, send email to reca...@googlegroups.com.
Visit this group at http://groups.google.com/group/recaptcha.
For more options, visit https://groups.google.com/d/optout.
I've tried the default onload which does work but it only lets you have one captcha per page.
Also I don't think this plays well with high level meteor code. Meteor is a bit quirky and I've seen inconsistency in the captcha rendering depending on how I accessed the page.
By calling router.go,
By refreshing the browser,
By a hot code reload,
By clicking an anchor tag.
The only consistent way I've come across is by running the nested $.getScript on startup and setting a session variable in the innermost callback, and then having my outermost wrapper layout template render the desired child template IFF the session variable has been set, else render a loading template which says "waiting on Google's killer-robot protection".
The problem with this solution is that my entire app ends up waiting on Google's script to load.
I'm considering increasing the wait scope to the captcha level and not the layout level so that users can still see my app sans-captcha for a few seconds.
Else, I could manually send the script from my own server as part of my app, and then run a cron job on my server every 5 days to update what I send down to the clients. This might be the best thing to do.
Else, I could simply redesign my app to make sure that only one captcha per page is necessary and then use the solution you proposed.
Please let me know if there's a way to include more than one captcha per page using the implicit onload render type.
Thanks.
You received this message because you are subscribed to a topic in the Google Groups "reCAPTCHA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/recaptcha/gkrnRkbSTmA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to recaptcha+...@googlegroups.com.