Now we're getting somewhere! Yeah thats a good idea. From my understanding handlers (vs modules) we're originally setup to handle a certain file type (like .jpg to add a watermark). You could then have your webcontrol (in the same dll) do something like
<img src="image.capcha?code=123" />

The handler merely checked for .capcha and returns the image.

Even better if there would be a way in the webcontrol init to programatically add the handler (vs. manually setting it up in the web.config).


Probably wouldn't work but you know how you can embed an image which is then retreived by webresource.axd? What if it served up an aspx or ashx file? Probably would blow up