Sir, In ASP.NET, There are two types of life cycles:-
1) ASP.NET Application Life Cycle
2) ASP.NET Page Life Cycle
I know these cycles.
But I likes to know that When we use Application cycle and Page Cycle?
please help me in this topic
ASP.NET Life Cycle
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Sunny SharmaRank #223 · 11.1K pointsPosted Sep 7, 2013, 1:50 AM EDT
As you said you know these ASP.NET Application Life Cycle and Page Life Cycle already, just push your understanding to the level next.
Application Life Cycle belongs to your complete application totally. It pertains to The first time your application starts on server, it receives requests, process them, send the response back to the client, setting session variables for that session ... many more in between and finally the Application End.
Page Life Cycle belongs to a Page being served by your Application running on Server to the client requesting for that resource. It pertains to The time your page gets called, the page is initiated, the page is loaded, ..., and the page is served.
Hope you got the point.
Happy Learning :)