ASP Tutorials - Herong's Tutorial Examples
Dr. Herong Yang, Version 5.00

Managing Sessions with and without Cookies

This chapter provides tutorial notes and example codes on session management. Topics include how IIS server manages session IDs as cookies; guidelines on to manage sessions yourself; example of managing sessions without cookies.

Session ID Managed as a Cookie

Session Management Considerations

Managing Sessions without Cookies

Conclusions:

  • IIS server manages session IDs as cookies. If the cookie support in the browser is turned off, ASP session will not work.
  • If you want to manage sessions by yourself, you can hide session IDs as form input values.

Table of Contents

 About This Book

 ASP (Active Server Pages) Introduction

 IIS (Internet Information Services) 5.0

 MS Script Debugger

 VBScript Language

 ASP Built-in Run-time Objects

 ASP Session

 Creating and Managing Cookies

Managing Sessions with and without Cookies

 scrrun.dll - Scripting Runtime DLL

 Managing Response Header Lines

 Calculation Speed and Response Time

 ADO (ActiveX Data Object) DLL

 Working with MS Access Database

 Guest Book Application Example

 References

 PDF Printing Version

Dr. Herong Yang, updated in 2010
Managing Sessions with and without Cookies