Draft for Information Only
Content
ASP.NET Application and Session Application and Session Features References
ASP.NET Application and Session
In ASP.NET platform, the Application and Session is manipulated through the .NET platform which is not the same as classic ASP. There are serveral ways to manipulate the state of ASP.NET. For the application and session state, ASP.NET is maniputlatd by an instance of the HttpApplicationState class and HttpSessionState class accordingly. While the application and session instance are manipulated through HttpApplication Class and SessionStateModule Class according.
Application and Session Features
The features of Application and Session are
HttpApplicationState Class
HttpApplication Class
HttpSessionState Class
SessionStateModule Class
Method
Add(String, Object)
AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)
Abandon()
Dispose()
BaseAdd(String, Object)
AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
Add(String, Object)
Equals(Object)
BaseClear()
AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)
Clear()
GetHashCode()
BaseGet(Int32)
AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)
CopyTo(Array, Int32)
GetType()
BaseGet(String)
AddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler)
Equals(Object)
Init(HttpApplication)
BaseGetAllKeys()
AddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object)
GetEnumerator()
MemberwiseClone()
BaseGetAllValues()
AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler)
GetHashCode()
ToString()
BaseGetAllValues(Type)
AddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object)
GetType()
BaseGetKey(Int32)
AddOnEndRequestAsync(BeginEventHandler, EndEventHandler)
MemberwiseClone()
BaseHasKeys()
AddOnEndRequestAsync(BeginEventHandler, EndEventHandler, Object)
Remove(String)
BaseRemove(String)
AddOnLogRequestAsync(BeginEventHandler, EndEventHandler)
RemoveAll()
BaseRemoveAt(Int32)
AddOnLogRequestAsync(BeginEventHandler, EndEventHandler, Object)
RemoveAt(Int32)
BaseSet(Int32, Object)
AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)
ToString()
BaseSet(String, Object)
AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)
Clear()
AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)
Equals(Object)
AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
Get(Int32)
AddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)
Get(String)
AddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)
GetEnumerator()
AddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler)
GetHashCode()
AddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object)
GetKey(Int32)
AddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler)
GetObjectData(SerializationInfo, StreamingContext)
AddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler, Object)
GetType()
AddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)
Lock()
AddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)
MemberwiseClone()
AddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler)
OnDeserialization(Object)
AddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
Remove(String)
AddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler)
RemoveAll()
AddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object)
RemoveAt(Int32)
AddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler)
Set(String, Object)
AddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
ToString()
AddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler)
Unlock()
AddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler)
AddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object)
AddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler)
AddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
AddOnResolveRequestCacheAsync(BeginEventHandler, EndEventHandler)
AddOnResolveRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
AddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler)
AddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
CompleteRequest()
Dispose()
Equals(Object)
GetHashCode()
GetType()
GetVaryByCustomString(HttpContext, String)
Init()
MemberwiseClone()
ToString()
Property
AllKeys
Application
CodePage
Contents
Context
Contents
Count
Events
CookieMode
ICollection.IsSynchronized
Modules
Count
ICollection.SyncRoot
Request
IsCookieless
IsReadOnly
Response
IsNewSession
Item[Int32]
Server
IsReadOnly
Item[String]
Session
IsSynchronized
Keys
Site
Item[Int32]
StaticObjects
User
Item[String]
Keys
LCID
Mode
SessionID
StaticObjects
SyncRoot
Timeout
Explicit Interface Implementations
ICollection.CopyTo(Array, Int32)
IHttpAsyncHandler.BeginProcessRequest(HttpContext, AsyncCallback, Object)
IHttpAsyncHandler.EndProcessRequest(IAsyncResult)
IHttpHandler.IsReusable
IHttpHandler.ProcessRequest(HttpContext)
Event
AcquireRequestState
End
AuthenticateRequest
Start
AuthorizeRequest
Session_OnEnd
BeginRequest
Session_OnStart
Disposed
EndRequest
Error
LogRequest
MapRequestHandler
PostAcquireRequestState
PostAuthenticateRequest
PostAuthorizeRequest
PostLogRequest
PostMapRequestHandler
PostReleaseRequestState
PostRequestHandlerExecute
PostResolveRequestCache
PostUpdateRequestCache
PreRequestHandlerExecute
PreSendRequestContent
PreSendRequestHeaders
ReleaseRequestState
ResolveRequestCache
UpdateRequestCache
Application_OnEnd
Application_OnStart
References
https://docs.microsoft.com/en-us/dotnet/api/system.web.httpapplicationstate?view=netframework-2.0
https://docs.microsoft.com/en-us/dotnet/api/system.web.httpapplication?view=netframework-2.0
https://docs.microsoft.com/en-us/dotnet/api/system.web.sessionstate.httpsessionstate?view=netframework-2.0
https://docs.microsoft.com/en-us/dotnet/api/system.web.sessionstate.sessionstatemodule?view=netframework-2.0
©sideway
ID: 190600010 Last Updated: 6/10/2019 Revision: 0 Ref:
References
Active Server Pages, , http://msdn.microsoft.com/en-us/library/aa286483.aspx
ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929%28v=vs.90%29.aspx
ASP Best Practices, , http://technet.microsoft.com/en-us/library/cc939157.aspx
ASP Built-in Objects, , http://msdn.microsoft.com/en-us/library/ie/ms524716(v=vs.90).aspx
Response Object, , http://msdn.microsoft.com/en-us/library/ms525405(v=vs.90).aspx
Request Object, , http://msdn.microsoft.com/en-us/library/ms524948(v=vs.90).aspx
Server Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525541(v=vs.90).aspx
Application Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525360(v=vs.90).aspx
Session Object (IIS), , http://msdn.microsoft.com/en-us/library/ms524319(8v=vs.90).aspx
ASPError Object, , http://msdn.microsoft.com/en-us/library/ms524942(v=vs.90).aspx
ObjectContext Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525667(v=vs.90).aspx
Debugging Global.asa Files, , http://msdn.microsoft.com/en-us/library/aa291249(v=vs.71).aspx
How to: Debug Global.asa files, , http://msdn.microsoft.com/en-us/library/ms241868(v=vs.80).aspx
Calling COM Components from ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524620(v=VS.90).aspx
IIS ASP Scripting Reference, , http://msdn.microsoft.com/en-us/library/ms524664(v=vs.90).aspx
ASP Keywords, , http://msdn.microsoft.com/en-us/library/ms524672(v=vs.90).aspx
Creating Simple ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524741(v=vs.90).aspx
Including Files in ASP Applications, , http://msdn.microsoft.com/en-us/library/ms524876(v=vs.90).aspx
ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929(v=vs.90).aspx
FileSystemObject Object, , http://msdn.microsoft.com/en-us/library/z9ty6h50(v=vs.84).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms675944(v=vs.85).aspx, , ADO Object Model
ADO Fundamentals, , http://msdn.microsoft.com/en-us/library/windows/desktop/ms680928(v=vs.85).aspx