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.
UPDATE: My code is currently running inside the OnBeginRequest ()
event handler.
UPDATE: Following advice received so far, I tried adding this to the Init ()
routine in my HTTPModule:
AddHandler context.PreRequestHandlerExecute, AddressOf OnPreRequestHandlerExecute
But in my OnPreRequestHandlerExecute
routine, the session state is still unavailable!
Thanks, and apologies if I'm missing something!
Best Answer
Found this over on the ASP.NET forums: