Captcha not working from referral site using URL masking via DNS
Автор: Nigel W.
Просмотрено 2475,
Подписчики 1,
Размещенный 23
The Captcha is not working from referral DNS but ok direct.
I have Captcha used in two forms on a site hosed on one.com (www.conaccounts.com). The catcha works fine here.
I want to redirect traffic from another domain name to this one. For example I have www.consultantaccounts.com with it's DNS forwarding web requests to www.conaccounts.com.
If browsing using this DNS refferral, the Captcha does not work.
Any ideal why this is happening amd how to fix it?
Attchment shows what is happening.
Thanks for looking.
Размещено
Автор
SOLVED:
Ensure your page is not opened in a frame
If you want to make sure your website is not opened in a frame from some other website, put this JavaScript in the <head> of your html page:
<script type="text/javascript">
if (top.location != self.location) top.location.href = self.location.href;
</script>