Page

8.4.0- The Session Object

Created by Brendan Doss.
Last Updated by Brendan Doss.  

PublicCategorized as 08. Applications, Sessions and Cookies.

Not yet tagged
<< 8.3.0- What is a Session?Chapter88.4.1- Session Object Collections >>

The Session Object

There is one Application object for each application on the web server. Every client accessing that application can get a reference to it. Each client's unique interactions with the application is called a Session. For ASP to manage these processes, each client has a reference to a unique Session object.

 

The Session object will allow you to:

 

  • Be notified when a user session begins, so that you can take appropriate actions for a new client.
  • Be notified when a client has ended their session. This can either be caused by a timeout or an explicit method called Abandon.
  • Store information that can be accessed by the client throughout the session

 

The Session object is a powerful object for developing web applications using Active Server Pages. With the session object, ASP can maintain an active session for a client, which lets your application keep track of each client and maintains all the variables that they have set and used.

<< 8.3.0- What is a Session?Chapter88.4.1- Session Object Collections >>

Copyright © 2003 by Wiley Publishing, Inc.

Powered by Near-TimeTerms of Services | Privacy Policy | Security Policy |