Question regarding application_onstart event.

Discussion in 'ASP .Net' started by archana, Mar 1, 2007.

  1. archana

    archana Guest

    Hi all,

    I am new to asp.net. I am having one confusion regarding
    application_onstart event.

    Let me explain what i am doing:-

    Say i have one xml file whose setting i am reading on
    application_onstart event. So if i change my xml file I want that
    updated content be used through out my application.

    So indirectly wnat i want is to unload application and reload it
    again. Which i don't know if possible or not.

    So can anyone tell me how to unload and reload application.

    Any help will be truely apprecated.
    archana, Mar 1, 2007
    #1
    1. Advertising

  2. archana

    Aidy Guest

    You're better off using a watch on the file to see if it changes, and if it
    does re-load the new XML file.

    http://msdn2.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx

    "archana" <> wrote in message
    news:...
    > Hi all,
    >
    > I am new to asp.net. I am having one confusion regarding
    > application_onstart event.
    >
    > Let me explain what i am doing:-
    >
    > Say i have one xml file whose setting i am reading on
    > application_onstart event. So if i change my xml file I want that
    > updated content be used through out my application.
    >
    > So indirectly wnat i want is to unload application and reload it
    > again. Which i don't know if possible or not.
    >
    > So can anyone tell me how to unload and reload application.
    >
    > Any help will be truely apprecated.
    >
    Aidy, Mar 1, 2007
    #2
    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:
    747
    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. Bren
    Replies:
    3
    Views:
    96
Loading...

Share This Page