HttpSessionState is a class used to represent an instance of a Session, so if you wanted to access the current session you could write something like this:
HttpSessionState currentSession = Page.Session;
As the Session object returns an instance of the HttpSessionState class. Now you can access the members of the HttpSessionState class using the currentSession instance.
The same applies for HttpApplicationState and Application objects.
|