Home arrow ASP arrow Maintaining Session State With ASP

Maintaining Session State With ASP

Sessions and cookies can be used to persist visitor information. In this article Himanshu shows us how to main session state with ASP using a combination of cookies, sessions and the global.asa file.

Author Info:
By: Himanshu Khatri
Rating: 5 stars5 stars5 stars5 stars5 stars / 82
August 30, 2002
  1. · Maintaining Session State With ASP
  2. · The Session Object
  3. · The Application Object
  4. · The Global.asa File
  5. · Conclusion

print this article

Maintaining Session State With ASP
(Page 1 of 5 )

Session and application variables are an important part of ASP programming. Whether it's developing simple hit counters or developing advanced chat servers, session and application variables are a must have feature of many applications.

In this article we are going to learn:
  • How session and application variables work
  • What the benefits are of using session and application variables
  • Which events are available to both session and application variables
  • How we implement session and application variables
  • The global.asa file and the standard events in global.asa
  • How to maintain a client state using cookies
To understand the concepts that I'm about to explain, you will need the following:
  1. A web server (IIS or PWS) capable of running ASP scripts
  2. Basic knowledge of ASP
By the end of this article you will have a thorough understanding of sessions, application variables and cookies, and will be fully prepared to start using them in your applications.
blog comments powered by Disqus

- Central Scoreboard with Flash and ASP
- Calorie Counter Using WAP and ASP
- Creating PGP-Encrypted E-Mails Using ASP
- Be My Guest in ASP
- Session Replacement in ASP
- Securing ASP Data Access Credentials Using t...
- The Not So Ordinary Address Book
- Adding and Displaying Data Easily via ASP an...
- Sending Email From a Form in ASP
- Adding Member Services in ASP
- Removing Unconfirmed Members
- Trapping HTTP 500.100 - Internal Server Error
- So Many Rows, So Little Time! - Case Study
- XDO: An XML Engine Class for Classic ASP
- Credit Card Fraud Prevention Using ASP and C...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials