I have used captha in my project. I have used a dll file for this but the problem is I have used url rewriting in my project due to which the image of the captha is not loaded.
Disable the URL rewriting for a while. and run the site, and get the URL for the captha. And then enable the url rewriting back, make a rule to omit the captha's url. you might want to use regulare expression to do so,
If you're using the VS built-in web server, then it passes all files through ASP.NET, so even css, script, images, etc, all go through your rewriting code. If you switch to IIS (or even IIS Express) then the default is for only ASP.NET pages to be processed
by ASP.NET; all other files are served directly by IIS so wouldn't go through the rewrite. - Dave Sussman
animesh.andy
Member
119 Points
243 Posts
Web Resourse Image url
May 11, 2012 10:14 AM|LINK
I have used captha in my project. I have used a dll file for this but the problem is I have used url rewriting in my project due to which the image of the captha is not loaded.
Can anyone help how to solve it
sudheeshwarr...
Member
72 Points
48 Posts
Re: Web Resourse Image url
May 11, 2012 10:19 AM|LINK
Disable the URL rewriting for a while. and run the site, and get the URL for the captha. And then enable the url rewriting back, make a rule to omit the captha's url. you might want to use regulare expression to do so,
Thanks,
http://atomviews.com
Keep it Simple...
One stop for all reviews | AtomViews
ramiramilu
All-Star
95503 Points
14106 Posts
Re: Web Resourse Image url
May 11, 2012 10:41 AM|LINK
Look at answer here - http://forums.asp.net/t/1676942.aspx/1?URL+ReWriting+CSS+file+image+path+Ajax
If you're using the VS built-in web server, then it passes all files through ASP.NET, so even css, script, images, etc, all go through your rewriting code. If you switch to IIS (or even IIS Express) then the default is for only ASP.NET pages to be processed by ASP.NET; all other files are served directly by IIS so wouldn't go through the rewrite. - Dave Sussman
Thanks,
JumpStart