IIS - HttpHandlers Problem

windows

Guest
Hallo,

i纾沞 a problem with configurating the httphandlers in my web.config file.
I want that every request is delivered to my site regardless of which url was requested.(e.g. <!-- m --><a class="postlink" href="http://localhost/mySite/******.aspx">http://localhost/mySite/******.aspx</a><!-- m --> -> <!-- m --><a class="postlink" href="http://localhost/mySite/myTunnel.aspx">http://localhost/mySite/myTunnel.aspx</a><!-- m -->).

When i use <httphandlers> in my web.config it works, but evertime i call my Site it is executed two times!
here a cutout of my web.config:

<httpHandlers>
<add verb="*" path="*.aspx" type="myNameSpace.myClassname,myAssembly" />
</httpHandlers>

Wenn i comment out my http handler, it works all fine. Do you have an idea why my site is called two times when i use the handlerconfiguration?

My intention is that my aspx site handels all requests, encapsulates and tunnels it, and on the other site of tunnel a dispatcher can reconstrukt the original url.

thanks for help,
Pascal



my aspx site:
<%@ Page language="c#" Codebehind="myTunnel.aspx.cs" AutoEventWireup="false" Inherits="myNameSpace.myTunnel" %>

myTunnel Class inherits from Sstem.Web.UI.PAGE and i纾沞 only implemented the Page_Load Method.
 
Back
Top