How long the instance of a web form is available on the web server?

 Posted by Tripati_tutu on 11/9/2010 | Category: ASP.NET Interview questions | Views: 1772 | Points: 40

When we will request a webpage from the browser, it will create an instance of that requested Webpage, which generates HTML to response to the request, and posts it on the browser. After post, it destroys the instance of that Webpage.

Let’s say at client side the browser has an HTML, in that the user can enter some text in textboxes, can select some required options, and perform other tasks until it fires any postback event, such as button click event. This causes the browser to send the submitted data back to the server for event processing. When the server receives client request, it will create a new instance of the Webpage and it fills supplied data, and processes requested event by the client. As server finishes task, it posts the resulting HTML back to the browser and destroys the instance of the Webpage.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response