PersistDemo.Global Class
Global application object for persistence demo.

Access: Public
Base Classes: HttpApplication
  Members Description  
    Global Constructor for global object.

 
    Application_Start Start the app. Store any persistence values desired into the Application state collection. Then restore the static fields of any classes that use persistence.

 
    Application_PreRequestHandlerExecute Event called before page request processing begins. Do any necessary persistence.

 
    Application_PostRequestHandlerExecute Event called after all page processing ends. Do any necessary persistence.

 
    Session_End A session is ending. Walk its Session state collection and call Dispose() on any persisted fields that support IDisposable.

 
    InitializeComponent Required method for Designer support - do not modify the contents of this method with the code editor.

 
    sImageTempDirectory Sample field persisted from web.config