The page can be submitted to the server for further processing The page

The page can be submitted to the server for further

This preview shows page 10 - 12 out of 33 pages.

The page can be submitted to the server for further processing. The page submitting triggers postback event that causes the browser to send the page data, also called as view state to the server. When server receives view state, it creates new instance of the web form. The data is then restored from the view state to the control of the web form in Page_Init event. The data in the control is then available in the Page_load event of the web form. The cached event is then handled and finally the event that caused the postback is processed. The web form is then destroyed. When the user stops using the application, Session_end event occurs and session ends. The default session time is 20 minutes. The application ends when no user accessing the application and this triggers Application_End event. Finally all the resources of the application are reclaimed by the Garbage collector. Q34. What are the ways of preserving data on a Web Form in ASP.NET? Q35. Define application state variable and session state variable. Q36. Describe the application event handlers in ASP.NET
Image of page 10
Image of page 11
Image of page 12

You've reached the end of your free preview.

Want to read all 33 pages?

  • Spring '18
  • Dr. Moez
  • Web server, .NET Framework

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture