Custom module run code on new request

Topics: Customizing Orchard
Mar 12, 2013 at 10:24 PM
Is there a way to run code when a user begins a request without creating a base class for my controller with a constructor that runs the code?

I need the ability to run code when the module first starts and any time that there is a request either globally or to a controller within my module.

Thanks!
Coordinator
Mar 12, 2013 at 11:41 PM
Looks like a job for an MVC filter.