2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
[mono.git] / mcs / class / System.Web / System.Web / NOTES
1 Found another namespace not listed. System.Web.Hosting.
2 HttpRuntime.ProcessRequest and HttpWorkerRequest seems to be the key. 
3
4 ASP maintains a pool of HttpApplication objects dirived from Global.asax.
5 One is used per request, then reclamed after the request is totally
6 complete.
7
8 Read:
9 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguidnf/html/cpconaspnetapplications.asp
10
11
12 Request notes:
13 It apears each http request has its own thread. Need to figure out how to deal with this with apache.
14
15 Session notes:
16 When a request is finished, the contents of Request.Session are serialized and dumped to the State Server.
17 When a request is started, a new Request.Session is created, data is deserialized from the State Server, and the objects are placed back into Request.Session.
18 The State Server is accessed via the SessionStateModule which is used for both session ID and state data management.
19 HttpApplicationState instance is created the first time a url within the applications virtual directory is accessed. Its accessable through HttpContext.Application.
20 HttpApplicationState needs to use lock/unlock explicitly.
21 Not shared across machines or multiple processes.