验证码图片未显示在页面上 [英] captcha image is not showing on the page

查看:120
本文介绍了验证码图片未显示在页面上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net 3.5上有一个网站,要使用验证码我曾使用代码项目的dll,当我在共享托管服务器中上载页面时,该验证码在本地计算机上工作正常,该页面未显示验证码图片.

我还在配置文件中添加了如下代码-

i have a site on asp.net 3.5 on which i m tring to use captcha i used the dll of code project, captcha is working fine on local machine by when i uploaded the page in shared hosting server the page is not showing the captcha image.

i also added a code in config file as below -

<httphandlers>
<add verb="GET" path="CaptchaImage.aspx" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha" />
<httphandlers />





但没有解决办法.





but no solution.

can anybody solve this issue?

推荐答案

如果您的问题是关于ASP.NET的,为什么要使用无用的标记"image"?

我建议如果您对文章有疑问,请在文章下方的论坛中询问作者.根据您在此处发布的内容,没有人可以为您提供帮助.我能想到的唯一解决方案是您的主机可能不允许您设置HTTPHandlers,我知道GoDaddy不允许.
If your question is about ASP.NET, why the useless tag, ''image'' ?

I suggest if you have trouble with an article, you ask the author in the forum provided under the article. No-one can help you based on what you''ve posted here. The only solution I can think of is that your host may not allow you to set HTTPHandlers, I know GoDaddy does not.


这篇关于验证码图片未显示在页面上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆