Application_Start(Object sender, EventArgs e) - When does it realy runs?

Discussion in 'ASP .Net' started by mswc.net, Apr 26, 2005.

  1. mswc.net

    mswc.net Guest

    I have put code inside this method (Global.asax) but not even after
    re-starting my machine or the aspnet_wp.exe service it seems to execute
    the code inside of it. When does this methods really gets called? Any
    ideas?

    Thanks.
     
    mswc.net, Apr 26, 2005
    #1
    1. Advertising

  2. mswc.net

    Karl Seguin Guest

    It'll get called when the first page is requested. I believe it is called
    when the first call to the HttpRuntime's ProcessRequest is called (which
    would be the first page hit).

    Karl

    --
    MY ASP.Net tutorials
    http://www.openmymind.net/ - New and Improved (yes, the popup is
    annoying)
    http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
    come!)
    "mswc.net" <> wrote in message
    news:...
    >I have put code inside this method (Global.asax) but not even after
    > re-starting my machine or the aspnet_wp.exe service it seems to execute
    > the code inside of it. When does this methods really gets called? Any
    > ideas?
    >
    > Thanks.
    >
     
    Karl Seguin, Apr 26, 2005
    #2
    1. Advertising

  3. It runs when the first Request is received.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    What You Seek Is What You Get.

    "mswc.net" <> wrote in message
    news:...
    >I have put code inside this method (Global.asax) but not even after
    > re-starting my machine or the aspnet_wp.exe service it seems to execute
    > the code inside of it. When does this methods really gets called? Any
    > ideas?
    >
    > Thanks.
    >
     
    Kevin Spencer, Apr 26, 2005
    #3
    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. Kathy Burke
    Replies:
    2
    Views:
    5,154
    Kevin Spencer
    Aug 1, 2003
  2. Showjumper
    Replies:
    2
    Views:
    1,818
    Showjumper
    Aug 2, 2003
  3. mike
    Replies:
    2
    Views:
    2,796
  4. Replies:
    2
    Views:
    630
  5. David Lozzi
    Replies:
    2
    Views:
    352
    Harolds
    Jul 22, 2005
Loading...

Share This Page