November 2001
Intermediate to advanced
736 pages
16h 7m
English
Listings 5.1 and 5.2 show a global.asax and a web page that demonstrates some of the properties, methods, and events of the HttpApplicationState class, as explained previously. Figure 5.1 shows the Application State demo program.

01 <Script language="vb" runat="Server"> 02 03 Sub Application_OnStart(ByVal sender As Object, ByVal e As EventArgs) 04 Application("appName") = "Application State Management Demo" 05 Application("appDate") = DateTime.Now.ToShortDateString 06 End Sub 07 08 ... |
Read now
Unlock full access