.NET AJAX application firing extra http requests
Posted on 2009-04-20
I have a break point in my Global.asax in the Application_BeginRequest event. For every request to my application, a second request comes through while the page is loading. It is ALWAYS a request for default.aspx.
For example if I am executing a page called /FooBar.aspx, a second request will always be /default.aspx. Or if the request is /SubDirectory/SomePage.aspx, the second request will come through as /SubDirectory/default.aspx.
The proper page is always loaded, based on the original request. The second request is loading as if it were a resource request for the first page. The browser will show me "1 item remaining" just before it fires, as if it were an image or something.
Has anyone seen this before? Could it be something in the AJAX.