Homework 14
Ø ASP.NET
Lifetime
o
Add Session
state to Homework 13 for the XML and Access (or SQL Server) data tables for
Employees and BonusInfo
o
This means, the Databases should only be called once at PageLoad(), for
the initial Get/Post
Extra
Points
o
(10) Add Application (or Global.asax static) state
to Homework 13 that counts (and displays) the number of users that have used the
the Web site.
o
Note that since IIS may be restarted, or the server may be interrupted,
the only reliable way to insure the continuation of the count across IIS
stopages is to save it to persistent storage.
o
(5) Add Application
state to Homework 13 that holds (and displays) the number of current Session
users.
o
(10) Add Cache to Homework 13 that holds (and
displays) the number of current Session users.