2
Reply

What happens from the point an HTTP request is received on a TCP/IP port up until the Page fires the On_Load event?

Swati Agarwal

Swati Agarwal

Nov 21, 2012
6.5k
0

    Request is received by the server, the server determines the ISAPI extension to handle the request based on filename extension. In case this is first request, it will create an app domain for maintaining isolation with this and other applications running. then it creates hosting environment which will also create the objects like HttpContext, HttpRequest and HttpResponse. After this the HTTPApplication object is created . Afterwards the events in the global.asax which is the class inherited from the HTTPApplication object fires in the order defined in the link above.

    Ashu Bahl
    November 19, 2014
    1

    Brifely to say.Request is received by the server, the server determines the ISAPI extension to handle the request based on filename extension. In case this is first request, it will create an app domain for maintaining isolation with this and other applications running. then it creates hosting environment which will also create the objects like HttpContext, HttpRequest and HttpResponse. After this the HTTPApplication object is created . Afterwards the events in the global.asax which is the class inherited from the HTTPApplication object fires in the order defined in the link above.

    vipul handa
    December 26, 2012
    1