Why does Application_BeginRequest() fire twice when refreshing browser?
<p>I'm observing some really confusing behavior with the Application_BeginRequest event in my Global.asax file (in an ASP.NET MVC app).  When running through the debugger, if I Refresh my browser (IE7), this event fires twice.  If I click a link or otherwise manually request a page, it fires once - as expected.</p>

<p>Why does a refresh cause BeginRequest to fire twice?</p>

<p>I'm observing this with a brand new MVC project with the following addeded to Global.asax.cs</p>

<pre><code>protected void Application_BeginRequest() { 
    //executed twice
}
</code></pre>

<p>For context, I'm trying to add a new object to the HttpContext.Current.Items collection during this event, so it will persist through the entire request process. Obviously, I don't want this to happen twice for a single refreshed request!</p>
