I am using your captcha control in my Umbraco-based website.
I was able to add the control in a page with an input textbox to made a validation, but i have this problem: I have to validate the input with jQuery and not on postback of the page, but at this stage the session value
HttpContext.Current.Session["captchaString"]
is not the current captcha value shown in the image box but the previous one (the one of the previous postback) so obviously i can't check it correctly.
So the question is if your control can work only on a submit-button-postback scenario or if is there a way to obtain the currently captcha shown value without a postback
I'd assume that if it doesn't save the captcha to the session on page render then you'd have to recompile the dll with your changes to make it work. Unfortunately I can't give you much more information than this at the moment because I haven't released an update for it in a while and I'm not at my computer right now, I will have a look tonight for you though.
Validation without postback
Hello,
I am using your captcha control in my Umbraco-based website.
I was able to add the control in a page with an input textbox to made a validation, but i have this problem: I have to validate the input with jQuery and not on postback of the page, but at this stage the session value
HttpContext.Current.Session["captchaString"]
is not the current captcha value shown in the image box but the previous one (the one of the previous postback) so obviously i can't check it correctly.
So the question is if your control can work only on a submit-button-postback scenario or if is there a way to obtain the currently captcha shown value without a postback
Thanks
Claudio Di Flumeri
Hi Claudio,
I'd assume that if it doesn't save the captcha to the session on page render then you'd have to recompile the dll with your changes to make it work. Unfortunately I can't give you much more information than this at the moment because I haven't released an update for it in a while and I'm not at my computer right now, I will have a look tonight for you though.
Thanks, Luke
Hello
Thanks for your reply.
Is there a way to recompile the dll? I have downloaded the package but it contains only the .dll file, config and .ashx, not the source.
Claudio
Can you put the source up on github or bitbucket. We could make changes to it for you if you like.
Hi Claudio,
Did you get the solution for this issue? I am having same issue. Please guide me if you got the solution for it.
Thanks,
Dipa
is working on a reply...