However, if you handle an event like such:
context.BeginRequest += new EventHandler(Context_BeginRequest);
then once you enter the EventHandler, the Context Object (attached to the source parameter) seems to be fully constructed.
private void Context_BeginRequest(object sender, EventArgs e)
{
_context = ((HttpApplication)sender).Context;
| Technorati Tags |
| querystring [feed], ihttpmodule [feed], c# [feed], .net [feed], asp.net [feed] |
| Related Wikipedia Documents |
| Microsoft .NET, XMLHTTP, ASP.NET, Visual Studio .NET, Wikipedia: C Sharp programming language |
| My Related Documents |
| C#, .Net Framework: ASP.Net Query Parameter Validation, C#, .Net Framework: IHttpModule Things I have noticed, C#, .Net Framework: IHttpModule Things I have noticed |
| Related Amazon Books |
| Build Your Own ASP.NET Website Using C# & VB.NET: (UK)/(USA), ASP.NET Unleashed (Unleashed S.): (UK)/(USA), Pro ASP.NET 2.0 in C#: (UK)/(USA), Professional ASP.NET 2: (UK)/(USA), Introducing ASP.NET 2.0: (UK)/(USA), Beginning ASP.Net 1.1 E-Commerce: From Novice to Professional: (UK)/(USA), Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries: (UK)/(USA) |
