Hi,
This is my requirement.
I have a form with Captcha and by clicking on submit button a JQuery function calls a web method of an asmx web service using Ajax.
How can I validate Captcha value in that web method? Because it is not the code behind, I cannot use Page.IsValid method.
If the Captcha value is stored in a session variable, since both my web page and asmx file are at the same HTTPContext I can read it and validate it.
Thanks in advance,
Reza.
This is my requirement.
I have a form with Captcha and by clicking on submit button a JQuery function calls a web method of an asmx web service using Ajax.
How can I validate Captcha value in that web method? Because it is not the code behind, I cannot use Page.IsValid method.
If the Captcha value is stored in a session variable, since both my web page and asmx file are at the same HTTPContext I can read it and validate it.
Thanks in advance,
Reza.