Closed (fixed)
Project:
Image CAPTCHA Refresh
Version:
7.x-1.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
19 Aug 2012 at 18:32 UTC
Updated:
24 Aug 2012 at 07:20 UTC
On my development site Image Captcha refresh (ICR) works nice, on this site there is no cache used.
On my production site the first refresh is working alright, the code changes for example from P4Lrn to iFL5m. When I refresh again the code is still iFL5m only the image changes. When I refresh the page in my browser I get a new code for example hmjWb. When I refresh with ICR I get the same code as above so hmjWb becomes iFL5m. When I refresh again, the code is still iFL5m only the image changes. On this site I make use of Caching and I make use of Cache exclude module for the pages with a Captcha.
Hope you can help me out.
Comments
Comment #1
ddrozdik commentedThanks for your feedback I will try to investigate your situation and find solution.
Comment #2
xkhaven commentedI added the following code to the beginning of function image_captcha_refresh_ajax_refresh() and it seemed to help.
I dunno tho if it's the right way to avoid caching, but that line can be found from the original Captcha module.
Comment #3
everkuil commentedAfter adding your code to the beginning of function image_captcha_refresh_ajax_refresh(), refreshing works alright now for me.
Thanks,
Erik
Comment #4
ddrozdik commentedAdded fix with cache in new version.
Comment #5
ddrozdik commented