Other Examples of Session Variables

A number of our other examples use session variables. You might want to skim through the code listings outlined here to see some other uses for session variables:

  • In Chapter 23, “Securing Your Applications,” online, session variables are used to track the logged-in status of users.

  • In Chapter 21, “Interacting with Email,” online, session variables are used to help users check their email messages from a ColdFusion template.

  • The Ad Server examples in Chapter 38, “Generating Non-HTML Content,” in Vol. 2, Application Development, use session variables to track which ads have been shown on which pages on a per-visit basis.

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.