When does the Application_OnStart event trigger

Discussion in 'ASP General' started by Bren, May 21, 2004.

  1. Bren

    Bren Guest

    Hi All

    In the global.asa file, when does the Application_OnStart event trigger?
    Is it:-
    1. When the webserver starts or
    2. When the website is first accessed AFTER the webserver has started.

    Further to this when would the Application_OnEnd trigger?

    Regards
    Bren
    Bren, May 21, 2004
    #1
    1. Advertising

  2. Bren

    TomB Guest

    First link from google
    http://www.asp-help.com/objects/glob4f78.asp

    "Bren" <> wrote in message
    news:...
    > Hi All
    >
    > In the global.asa file, when does the Application_OnStart event trigger?
    > Is it:-
    > 1. When the webserver starts or
    > 2. When the website is first accessed AFTER the webserver has started.
    >
    > Further to this when would the Application_OnEnd trigger?
    >
    > Regards
    > Bren
    >
    >
    TomB, May 21, 2004
    #2
    1. Advertising

  3. Bren

    dlbjr Guest

    The onstart fires on the first access to the application.

    If you stop the application in the IIS Manager then the onstop event will fire.


    'from dlbjr

    'Unambit from meager knowledge of inane others,engender uncharted sagacity.
    dlbjr, May 21, 2004
    #3
  4. Bren

    Bren Guest

    Cheers Guys

    You have just settled an argument in my favour :)

    Rgds
    Bren
    Bren, May 21, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. yop
    Replies:
    4
    Views:
    434
  2. Shiv Kumar

    Global - Application_OnStart question

    Shiv Kumar, Jan 13, 2004, in forum: ASP .Net
    Replies:
    19
    Views:
    745
    Shiv Kumar
    Jan 14, 2004
  3. Marek

    Application_OnStart event

    Marek, May 9, 2004, in forum: ASP .Net
    Replies:
    8
    Views:
    479
    Scott Allen
    May 11, 2004
  4. =?Utf-8?B?QmlsbCBIZWNrbGU=?=

    Application_OnStart

    =?Utf-8?B?QmlsbCBIZWNrbGU=?=, Aug 16, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    339
    =?Utf-8?B?QnJhZCBRdWlubg==?=
    Aug 16, 2004
  5. archana
    Replies:
    1
    Views:
    340
Loading...

Share This Page