Sideway
output.to from Sideway


Application and Session Objects


ASP.NET Plafform Application and Session



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
close

References

  1. Active Server Pages, http://msdn.microsoft.com/en-us/library/aa286483.aspx, updated 20Dec2012
  2. ASP Overview, http://msdn.microsoft.com/en-us/library/ms524929%28v=vs.90%29.aspx, updated 21Dec2012
  3. ASP Best Practices, http://technet.microsoft.com/en-us/library/cc939157.aspx, updated 15Apr2013
  4. ASP Built-in Objects, http://msdn.microsoft.com/en-us/library/ie/ms524716(v=vs.90).aspx, updated 20Dec2012
  5. Response Object, http://msdn.microsoft.com/en-us/library/ms525405(v=vs.90).aspx, updated 20Dec2012
  6. Request Object, http://msdn.microsoft.com/en-us/library/ms524948(v=vs.90).aspx, updated 20Dec2012
  7. Server Object (IIS), http://msdn.microsoft.com/en-us/library/ms525541(v=vs.90).aspx, updated 20Dec2012
  8. Application Object (IIS), http://msdn.microsoft.com/en-us/library/ms525360(v=vs.90).aspx, updated 20Dec2012
  9. Session Object (IIS), http://msdn.microsoft.com/en-us/library/ms524319(8v=vs.90).aspx, updated 20Dec2012
  10. ASPError Object, http://msdn.microsoft.com/en-us/library/ms524942(v=vs.90).aspx, updated 20Dec2012
  11. ObjectContext Object (IIS), http://msdn.microsoft.com/en-us/library/ms525667(v=vs.90).aspx, updated 20Dec2012
  12. Debugging Global.asa Files, http://msdn.microsoft.com/en-us/library/aa291249(v=vs.71).aspx, updated 15Apr2013
  13. How to: Debug Global.asa files, http://msdn.microsoft.com/en-us/library/ms241868(v=vs.80).aspx, updated 15Apr2013
  14. Calling COM Components from ASP Pages, http://msdn.microsoft.com/en-us/library/ms524620(v=VS.90).aspx, updated 15Apr2013
  15. IIS ASP Scripting Reference, http://msdn.microsoft.com/en-us/library/ms524664(v=vs.90).aspx, updated 15Apr2013
  16. ASP Keywords, http://msdn.microsoft.com/en-us/library/ms524672(v=vs.90).aspx, updated 15Apr2013
  17. Creating Simple ASP Pages, http://msdn.microsoft.com/en-us/library/ms524741(v=vs.90).aspx, updated 15Apr2013
  18. Including Files in ASP Applications, http://msdn.microsoft.com/en-us/library/ms524876(v=vs.90).aspx, updated 15Apr2013
  19. ASP Overview, http://msdn.microsoft.com/en-us/library/ms524929(v=vs.90).aspx, updated 15Apr2013
  20. FileSystemObject Object, http://msdn.microsoft.com/en-us/library/z9ty6h50(v=vs.84).aspx, updated 14Mayr2013
  21. http://msdn.microsoft.com/en-us/library/windows/desktop/ms675944(v=vs.85).aspx, ADO Object Model, updated 15Apr2013
  22. ADO Fundamentals, http://msdn.microsoft.com/en-us/library/windows/desktop/ms680928(v=vs.85).aspx, updated 14Mayr2013
close

ID: 190600010 Last Updated: 2019/6/10 Revision: Ref:

IMAGE

Home (5)

Business

Management

HBR (3)

Information

Recreation

Hobbies (7)

Culture

Chinese (1097)

English (336)

Reference (66)

Computer

Hardware (149)

Software

Application (187)

Digitization (24)

Numeric (19)

Programming

Web (618)new

CSS (SC)

ASP.NET (SC)

HTML

Knowledge Base

Common Color (SC)

Html Entity (Unicode) (SC)

Html 401 Special (SC)

OS (388)new

MS Windows

Windows10 (SC)

.NET Framework (SC)

DeskTop (7)

Knowledge

Mathematics

Formulas (8)

Number Theory (206)

Algebra (20)

Trigonometry (18)

Geometry (18)

Calculus (67)

Complex Analysis (21)

Engineering

Tables (8)

Mechanical

Mechanics (1)

Rigid Bodies

Statics (92)

Dynamics (37)

Fluid (5)

Fluid Kinematics (5)

Control

Process Control (1)

Acoustics (19)

FiniteElement (2)

Biology (1)

Geography (1)


Copyright © 2000-2019 Sideway . All rights reserved Disclaimers last modified on 10 Feb 2019