|
In the local dev server, yes, it is called on graphic requests, but typically in IIS on a production server you're not having ASP.NET handle graphics requests. This example, by the way, is good when you know every page request will need user data, or you have some kind of integration between systems that use different backing stores for identifying users. Alternatively, you could do lazy initialization of the user, checking for null on the first call to a static method, and then populating the user data there.
Jeff 'Jones' Putz POP World Media, LLC Maximizing ASP.NET
|