![](/images/spacer.gif) |
![](/images/spacer.gif) |
![](/images/spacer.gif) |
Insure yourself from spam! The Anti Spam Insurance Company - ProtectWebForm!
Forum - ASP Server side querying the url
timedial_net |
2007-01-31 14:33:07 |
|
Hello,
Im trying to implement the verification process without having to
leave the current page. I've managed to do this on the client side but
this is open to security vunerabilities. Is there a way I can do the
same as the javascript below in asp on the server side. How do I query
the url and get a return value back (Server.Execute does not return a
value)
strUrlVerify =
'http://protectwebform.com/verify/5547_6yqnb90jg8t7/'+document.all.txtCatchaCode.value+'/'
xmlHttp.open("GET",strUrlVerify,false);
xmlHttp.onreadystatechange=function()
{
if (xmlHttp.readyState==4)
{
if(-1 <
xmlHttp.responseText.indexOf('<verification result="yes"/>'))
{
this.form.submit()
}
else
{
document.all.lblCatchaCode.innerHTML =
'<font color="#FF0000">Invalid verification code</font>'
}
}
}
xmlHttp.send(null) |
Post Reply:
You must be logged in to reply.
|
Post message
|
Registered users: 87337
Forms protected: 48551
Further Reading & Anti Spam Resources:
Directory
|
![](/images/spacer.gif) |