Can I do a redirect to a custom page in an HttpModule?
I have an HttpModule A which executes some javascript code when any aspx page is loaded. I would like to have a se
You can use the same HttpHandler for both. The cookie check just needs to go in an event before the page handler gets called, such as the "BeginRequest" event. Then you can use the Response.Redirect or Context.RewritePath.