BotDetect Asp.net Captcha not working on https -

383 Views Asked by At

Getting error as "Captcha.UserInputID is not set. Your implementation of BotDetect is not completely secure yet. Please add "yourCaptchaInstance.UserInputID = <CAPTCHA_CODE_INPUT_ID>;" line to the code that adds Captcha to this form."

The code work fines on http , but when we published code on https domain it is throwing error as above. Sometimes it works for first time and 2nd time it doesn't work until you clear cache or restart application.

Controller

Below is my code in controller

View :

css and packages

captcha code

view 2

route config

route

web config

webconfig part 1

webconfig 2

webconfig 3

0

There are 0 best solutions below