473,395 Members | 2,006 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Question regarding application_onstart event.

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.

Mar 1 '07 #1
1 1289
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/lib...emwatcher.aspx

"archana" <tr**************@yahoo.comwrote in message
news:11**********************@q2g2000cwa.googlegro ups.com...
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.

Mar 1 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Mark Hoagland | last post by:
I've got a scenario with a web application where I must access the virtual directory being accessed from within the Application_OnStart event handler. Specifically, I have a series of IIS virtual...
1
by: fruddy | last post by:
Hi everyone, Just wanted to ask about Application_OnStart in the global.asa. Now if I request one page from a particular site when I first go to that site say mysite.com/default.asp that triggers...
3
by: Bren | last post by:
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. ...
3
by: F C | last post by:
Hello, I would like to find the virtual directory name from within Application_onStart in global.asa. I am in ASP, not ASPX. I have no server.AppPath. Thanks for your help. François.
44
by: craig | last post by:
I am wondering if there are some best practices for determining a strategy for using try/catch blocks within an application. My current thoughts are: 1. The code the initiates any high-level...
19
by: Shiv Kumar | last post by:
I see that the Application_OnStart event is fired only once for a certain application. I'm interested in creating a "global" object (an object that will be available to all requests for the...
8
by: Marek | last post by:
Hi, Is Application_OnStart event hadler guaranteed to finish its execution before another HttpApplication object is brought into life? Marek
5
by: Mike Logan | last post by:
We are creating an HTTP Module to add code to the Application On Start of an applicaton. However, there is no HTTPApplication.OnStart event to attach to. Does anyone know how to attach to this...
5
by: archana | last post by:
Hi all, I am using timer to do some functionality on user specified time. I am using system.timers.timer class and its timer to do this functionality. What i am doing is i set autoreset to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.