<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>HttpHandlers and HttpModules</title><link>http://forums.asp.net/27.aspx</link><description>Extending the ASP.NET Framework through HttpModules and HttpHandlers.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: HttpHandler - image retrieval from database - content on page disappearing after implementation</title><link>http://forums.asp.net/thread/1021112.aspx</link><pubDate>Mon, 15 Aug 2005 16:05:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1021112</guid><dc:creator>billrob458</dc:creator><author>billrob458</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1021112.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=1021112</wfw:commentRss><description>&lt;FONT size=2&gt;Pulled it down and looked through your source.&amp;nbsp; It seems you only issue is you have custom handler that is "colliding" with the standard Page Handler.&lt;BR&gt;&lt;BR&gt;In your web.config try changing&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Courier New"&gt;&amp;lt;add verb="*" path="ImageTest.aspx" type="Feral.ImageHandlerVB"/&amp;gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;to&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Courier New"&gt;&amp;lt;add verb="*" path="ImageTest.axd" type="Feral.ImageHandlerVB"/&amp;gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;And in your ImageTest.aspx, you can change your link from &lt;BR&gt;&lt;BR&gt;&lt;FONT face="Courier New"&gt;&amp;lt;img src="ImageTest.aspx?ImageID=198274"/&amp;gt;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&lt;BR&gt;to&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Courier New"&gt;&amp;lt;img src="ImageTest.axd?ImageID=198274"/&amp;gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;Let me know how this turns out for you.&lt;BR&gt;&lt;BR&gt;bill&lt;/FONT&gt;</description></item><item><title>Re: HttpHandler - image retrieval from database - content on page disappearing after implementation</title><link>http://forums.asp.net/thread/1020540.aspx</link><pubDate>Sun, 14 Aug 2005 23:16:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1020540</guid><dc:creator>lance487</dc:creator><author>lance487</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1020540.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=1020540</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://student.cqu.edu.au/~s0012134/ImageTest.zip"&gt;http://student.cqu.edu.au/~s0012134/ImageTest.zip&lt;/A&gt;&amp;nbsp; is a zip file containing all relevant information, thanks for your time :)&lt;/P&gt;
&lt;P&gt;Lance&lt;/P&gt;</description></item><item><title>Re: HttpHandler - image retrieval from database - content on page disappearing after implementation</title><link>http://forums.asp.net/thread/1016421.aspx</link><pubDate>Wed, 10 Aug 2005 16:07:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1016421</guid><dc:creator>billrob458</dc:creator><author>billrob458</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1016421.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=1016421</wfw:commentRss><description>&lt;P&gt;&lt;FONT size=2&gt;Post your &amp;lt;httpHandlers&amp;gt; section of your web.config file.&amp;nbsp; I am thinking it is wired up incorrectly.&amp;nbsp; Also post your definition of your httphandler.&amp;nbsp; ie:&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Courier New"&gt;namespace WebApp1&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public class ImageHandler : IHttpHandler&lt;BR&gt;}&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;bill&lt;/FONT&gt;&lt;/P&gt;</description></item><item><title>HttpHandler - image retrieval from database - content on page disappearing after implementation</title><link>http://forums.asp.net/thread/1015760.aspx</link><pubDate>Wed, 10 Aug 2005 04:04:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1015760</guid><dc:creator>lance487</dc:creator><author>lance487</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1015760.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=1015760</wfw:commentRss><description>&lt;FONT face=Arial&gt;I am trying to implement a HttpHandler in order to retrieve an image from a database.&amp;nbsp; I have two problems:&lt;BR&gt;1) The line &lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;&lt;FONT size=3&gt;imageID = context.Request.QueryString("ImageID")&lt;BR&gt;&lt;BR&gt;is not retrieving the query string from aspx page where I have an img tag such as &lt;FONT color=#0000ff&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000&gt;img&lt;/FONT&gt; &lt;FONT color=#ff0000&gt;src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT face=Arial&gt;&lt;FONT size=3&gt;="PersonMain.aspx?ImageID=198274"/&amp;gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#000000&gt;2) If I hard code the imageID instead of retrieving it from the query string I can get it to display the image, however, NONE of the other content on the page is displaying.&amp;nbsp; I assume this has something to do with the HttpHandler, however, my knowledge in this area is limited.&lt;BR&gt;&lt;BR&gt;Any help is always greatly appreciated.&lt;BR&gt;&lt;BR&gt;Regards,&lt;BR&gt;Lance&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description></item></channel></rss>