Getting the current execution context

Topics: Actions & Coroutines
Jun 21, 2012 at 12:56 PM
Edited Jun 21, 2012 at 12:57 PM

I have an action that calls another method which calls another method ...etc. Now in one of these methods I need the current execution context. Is there any way I can get this? Maybe off of a Static or Singleton object?

I know I can pass the execution context in by doing this ActionMethod($executionContext) but I would like not having to do this at all let alone pass it to every single sub method.

Any help will of course be greatly appreciated.