Page 1 of 1

captcha problem

Posted: Mon Jun 29, 2009 11:37 am
by gurjit
Hi

I'm using this script

http://www.white-hat-web-design.co.uk/a ... aptcha.php


What has happened is that it works fine on domain:

mydomain.co.uk

where all the form code exists.

I have another domain mydomain2.co.uk, which I frame forward to mydomain.co.uk. When I call the forms and click the submit, the confirm code does not work, it keeps asking to reconfirm the code.

I know this is because of sessions across domains. I am using PHP 4.

Any ideas what I can do?

Re: captcha problem

Posted: Sun Jul 05, 2009 2:10 am
by paqman
As far as I know (not extremely far), browsers use sessions per domain only. Your two domains will not be able to communicate through sessions. If they are on the same server, theoretically you could find the session data, but that would be complicated and not a good use of your time. Why not just make a copy of the script for your second domain?