验证码图像无法正确显示

编程入门 行业动态 更新时间:2024-10-11 05:20:26
本文介绍了验证码图像无法正确显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 我对Captcha图像有一个问题。它在我的aspx页面中显示不正确。 我添加了dll和xml required.Also我注册了它在我的aspx页面中。 <%@ Register Assembly =MSCaptchaNamespace =MSCaptchaTagPrefix =cc1%> 我也在我的web.config文件...可能是哪里有问题请帮忙... 当我右键单击n时查看图像我收到404错误..在我的web.cofig文件中 我这样添加了

Hi Everybody, I have one problem with Captcha image.Its not displaying properly in my aspx page. I added dll and xml required.Also I registered it in my aspx page. <%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %> Also I added it in my web.config file...where might be the problem please help... When i right click n see view image am getting 404 error..In my web.cofig file I added like this

<httpHandlers> <add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha" />

推荐答案

hi Radhika, 查看此链接 www.aspsnippets/Articles/How-to-implement-Captcha-in-ASP.Net.aspx [ ^ ] hi Radhika, Check out this link www.aspsnippets/Articles/How-to-implement-Captcha-in-ASP.Net.aspx[^]

Radhika, 你可以试试这个... Hi, Radhika, You can try with this... <system.webServer> <handlers> <add name="CAPTCHAHandler" verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha" /> </handlers> </system.webServer>

更多推荐

验证码图像无法正确显示

本文发布于:2023-11-24 23:39:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627378.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:验证码   图像   正确

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!