Sign in:
Username:
Password:  
»Forgot your password?

Home | Forum | How to Protect Your Web Form | How to Protect Your Email | Sign Up

Insure yourself from spam! The Anti Spam Insurance Company - ProtectWebForm!

Forum - ASP Server side querying the url

PostMessage
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
Name: 
Email: 
Url: 




Registered users: 20226

Forms protected: 48457

Further Reading & Anti Spam Resources:

Directory
Search our site for:
 
Web www.protectwebform.com

Get Thunderbird!

    ©Copyright 2006 ProtectWebForm.com. All rights reserved. Read our Privacy Policy

Page copy protected against web site content infringement by Copyscape