I am trying to implement a session-per-request pattern in an ASP.NET MVC 2 Preview 1 application, and I\'ve implemented an IHttpModule to help me do this:
Turns out there's a Web.config file in the Views folder, and one in the root. Guess which one I registered the httpModules in? Yep, the Views folder one. I moved it to the root Web.config and now it works like a charm.