Understanding Page Life Time:
The first time that an Asp.Net web form page is executed, the code contained with the page (any codebehind class module associated with the page ) is complied into a class that inherits from the Page base class ( actually, the code-behing class inherits from the Page class and then the .aspx file inherits from code-behind class via the Inherits attributes of the @ Page directive ).
The following illustration show the relationship between the Page, its code-behind class (if any) and the complied assembly. Once complied, the class is executed, the resulting Html is rendered to the browser, and the class removed from hte memory.
Gotta give it to Travelers
2 days ago