Friday, July 28, 2006

K. Scott Allen: Impersonation and Application_Start in ASP.NET

Itt van az egesz, de a lenyeg:

…impersonation isn’t “on” during Application_Start… Application_Start is an odd event. It’s not really a request related event, but of course it won’t fire until the first event arrives. The ASP.NET runtime doesn’t start impersonation until it begins to process the request in earnest. This event fires just before impersonation begins, during a time when ASP.NET is laying out the cocktail napkins and setting up for the party.