I’ve built an HttpHandler (ASHX) that sits in my web project. I have a test page that invokes the Handler and the Handler returns what it is supposed to. However, as soon as the return is done it gets invoked again. And again, and again, and again, ad naseum.
Any thoughts on what might cause this type of behavior?
The test page looks like:
<%@ Page Language="C#" AutoEventWireup="true" Codebehind="TestPage.aspx.cs" Inherits="RivWorks.Web.TestPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h3>Tests</h3>
<div style="background-color: Silver; padding: 10px;">
<iframe class="welcome" src="http://localhost/barrows.riv?client=33ee472yaaM24a"></iframe>
</div>
</div>
</form>
</body>
</html>
The handler returns this:
<body style="border-width:0px;overflow:auto;margin:0px;padding:0px;background-color:transparent;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="ply" height="100%" width="100%">
<param name="movie" value="http://localhost/widgets/player/1_1/rivplayer.swf"></param>
<param name="version" value="9"></param>
<param name="scale" value="noscale"></param>
<param name="allowscriptaccess" value="always"></param>
<param name="wmode" value="transparent"></param>
<param name="flashvars" value="campaign=10370&interactive=JkVI5YTUAjWSd2nWWkpb1Q==&localGateway=http://localhost/"></param>
<embed src="http://localhost/widgets/player/1_1/rivplayer.swf" name="ply" height="100%" width="100%" allowscriptaccess="always" wmode="transparent" flashvars="campaign=10370&interactive=JkVI5YTUAjWSd2nWWkpb1Q==&localGateway=http://localhost/" play="True" loop="False" version="9" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer/" />
</object>
</body>
I’m stumped at the moment...
-kb