This topic is locked
[SOLVED]

  Captcha not working in IE7 IE8 over SSL

11/11/2009 12:54:23 PM
PHPRunner General questions
T
tonyb88 author

PHPRunner 5.1 build 2503
When I use captcha on my registration page, it doesn't work if I go to the site using HTTPS, but works fine if I go to the site using HTTP. This doesn't seem to be a problem in all browsers. I have confirmed it works fine in Mozilla, and confirmed it doesn't work in IE8. Anybody else having similar problems? If you go to https://www.hmsforweb.com/captchatest/register.php and then to http://www.hmsforweb.com/captchatest/register.php you can see the differences. Strange behavior! Can't figure out how to fix this in IE8. I have rebuilt the project and even built a simple test project to test it out and no luck, still doesn't work with https and IE8.
Any comments and/or suggestions are welcome!

Sergey Kornilov admin 11/12/2009

Links seem to be broken.
I recommend to create a ticket at at http://support.xlinesoft.com sending those URLs. We might some additional info in order to resolve this issue.

T
tonyb88 author 12/11/2009

I found the solution, sorry for not posting it sooner!
I am using PHPRunner 5.1, so it may or may not apply to your situation, but here goes......
Go to C:\Program Files\PHPRunner5.1\source (or wherever you installed PHPRunner to) and open securitycode.php with your favorite text editor. At the top of the page you will see 3 lines like the following:
header("Expires: Thu, 01 Jan 1970 00:00:01 GMT");

header("Pragma: no-cache");

header("Cache-Control: no-cache");
You need to comment these out by placing "//" before each one like this:
//header("Expires: Thu, 01 Jan 1970 00:00:01 GMT");

//header("Pragma: no-cache");

//header("Cache-Control: no-cache");
Save the file, rebuild your project, and test it out. Hope that solves your problem!

  • Tony

pplaut 12/15/2009



PHPRunner 5.1 build 2503
When I use captcha on my registration page, it doesn't work if I go to the site using HTTPS, but works fine if I go to the site using HTTP. This doesn't seem to be a problem in all browsers. I have confirmed it works fine in Mozilla, and confirmed it doesn't work in IE8. Anybody else having similar problems? If you go to https://www.hmsforweb.com/captchatest/register.php and then to http://www.hmsforweb.com/captchatest/register.php you can see the differences. Strange behavior! Can't figure out how to fix this in IE8. I have rebuilt the project and even built a simple test project to test it out and no luck, still doesn't work with https and IE8.
Any comments and/or suggestions are welcome!