I’m trying to extend the functionality of an ASP.net application that I’m working with. For its logon page, it uses an html form to post to a dll to handle it’s login logic.
I’m wondering if there is any way to redirect that html POST to my C# code so that I can do some processing and then (and this is the part that I haven’t figured out yet) POST it to the dll so that the regular logon logic can continue.
I can make changes to the logon page, but the final step must be to do an HTML POST to the dll. I can’t change that.
Create an IHttpModule. You can intercept any request in your application and massage it before passing it onto the rest of the application.