Weird problem here. The captcha module works fine in an iframe for firefox and IE6, not for IE7. The captcha outside the iframe does work in ie7. Thats pretty odd. No solution, and i am for now not using captcha. If anyone knows a solution, i'd be happy.

Comments

chrisfab’s picture

You should know that IE and iframes (and frames) are often troublesome. I used to have a lot of problems with the cookies in the nested page of the iframe.
A quick fix to that problem is to add a p3p header (to the http header):
P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"

perhaps this will solve your issue with image_captcha as well..

motogoat’s picture

Add ?code=<?php echo time(); ?> to the img tag
e.g. <img src="CaptchaSecurityImages.php?width=100&height=40&characters=5&code=<?php echo time(); ?>" />

This forces the browser to refresh the image.

Daryljames’s picture

I have a myspace app which is an I frame of a drupal site, and I'm running into this exact same issue... where do I put the code... On my side, or on myspaces side?

soxofaan’s picture

Status: Active » Closed (won't fix)

Closing issues for unsupported 5.x release (due to Drupal 7 release).

If you are still experiencing this bug for 6.x or 7.x releases, please reopen this issue.