Solved

Static properties and HttpRequests in AppDomain

Posted on 2007-12-05
3
368 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
ID: 20420837
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
ID: 20591177
Forced accept.

Computer101
EE Admin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
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.

863 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

23 Experts available now in Live!

Get 1:1 Help Now