Solved

Static properties and HttpRequests in AppDomain

Posted on 2007-12-05
3
364 Views
Last Modified: 2013-11-06
In IIS 6, there is a notion of an AppDomain to isolate applications from each other for security, availability, performance(that's what I've read so far).  From my understanding, when there are multiple web requests comiing into IIS 6 for that same application so for example there is an AppDomain setup for my Search application, an HttpApplication objects gets created for each request that comes in.  My first question, could you please elaborate further on the process here, do each of these requests spawn new HttpApplication objects or do they get recycled somehow?  My second more relevant question.  So if I have a static property, is this property shared between ALL of the HttpRequests?  I understand that between Threads, the static property will be shared but I'm wondering about between HttpRequests.

To summarize, I have 5 users hitting my Search application(which is an AppDomain).  First, are there going to be 5 new HttpApplication objects created, one for each request?  Secondly, will this static property be shared among all of the requests?  
0
Comment
Question by:sraz786
3 Comments
 
LVL 26

Accepted Solution

by:
Dan McFadden earned 500 total points
Comment Utility
Here is probably one of the most direct explanations of AppDomains... (IMHO)

http://www.odetocode.com/Articles/305.aspx

Hope this helps
0
 
LVL 1

Expert Comment

by:Computer101
Comment Utility
Forced accept.

Computer101
EE Admin
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now