Can I access session state from an HTTPModule?
I could really do with updating a user’s session variables from within my HTTPModule, but from what I can see, it isn’t possible.
I could really do with updating a user’s session variables from within my HTTPModule, but from what I can see, it isn’t possible.
Does anyone know of a site or page, or know the order of execution for the events of the HTTPApplication class for HTTPModule event execution?
I’m writing an app where 3rd party vendors can write plugin DLLs and drop them into the web app’s bin directory. I want the ability for these plugins to be able to register their own HttpModules if necessary.
Can someone explain in less than 2 sentences the difference between both? Yes, I know google can provide hundreds of answers but not one in 2 clear sentences:)
My question is simple (although the answer will most likely not be): I’m trying to decide how to implement a server side upload handler in C# / ASP.NET.
Web application initialization is as follows:
I have written an HttpModule that spawns a background thread. I’m using the thread like a Scheduled Task that runs in-process, which is really handy.
I have a custom HTTP Module. I would like to inject the logger using my IoC framework, so I can log errors in the module. However, of course I don’t get a constructor, so can’t inject it into that. What’s the best way to go about this?
I’m implementing a simple HttpModule, where I want some code to run when the web application is started. But I’m surprised to find that the Application_Start event I would normally use from Global.asax is not available from a HttpModule. Is that correct, or am I missing something here?