pwc-technology-be / EU-CAPTCHA

8 stars 5 forks source link

Wrong misses after first try #240

Open Bedouille69 opened 1 year ago

Bedouille69 commented 1 year ago

Hi,

I'm testing your application version 2.2.2 and everything is fine in localhost but not in test : https://jcms10-test.ulg.ac.be/EU-Captcha/rotate

The first time we access the testing page, it works but if I come back to the link --> the first try is always a miss. Same behaviour if I target my server from the Javascript file on my computer. CTRL-F5 solves all for the current try.

Do you have and idea why ?

Thanks.

Bedouille69 commented 1 year ago

Adding "cache: false," in restWhatsUpCaptcha.js on GET Ajax calls solves the issue. It was already set on the POST call.