Sideway
output.to from Sideway
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: 10/6/2019 Revision: 0 Ref:

close

References

  1. Active Server Pages,  
  2. ASP Overview,  
  3. ASP Best Practices,  
  4. ASP Built-in Objects,  
  5. Response Object,  
  6. Request Object,  
  7. Server Object (IIS),  
  8. Application Object (IIS),  
  9. Session Object (IIS),  
  10. ASPError Object,  
  11. ObjectContext Object (IIS),  
  12. Debugging Global.asa Files,  
  13. How to: Debug Global.asa files,  
  14. Calling COM Components from ASP Pages,  
  15. IIS ASP Scripting Reference,  
  16. ASP Keywords,  
  17. Creating Simple ASP Pages,  
  18. Including Files in ASP Applications,  
  19. ASP Overview,  
  20. FileSystemObject Object,  
  21. http://msdn.microsoft.com/en-us/library/windows/desktop/ms675944(v=vs.85).aspx,  
  22. ADO Fundamentals,  
close
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 7

Culture

Chinese 1097

English 337

Reference 67

Computer

Hardware 149

Software

Application 187

Digitization 24

Numeric 19

Programming

Web 740

CSS 1

ASP.NET 1

Regular Expression 1

HTML

Knowledge Base

Common Color 1

Html Entity (Unicode) 1

Html 401 Special 1

OS 389

MS Windows

Windows10 1

.NET Framework 1

DeskTop 7

Knowledge

Mathematics

Formulas 8

Algebra 20

Number Theory 206

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

Physics

Electric 5

Biology 1

Geography 1


Copyright © 2000-2019 Sideway . All rights reserved Disclaimers last modified on 06 September 2019