When Does a Session End?

Developers often wonder when exactly a session ends. The simple answer is that by default, ColdFusion’s Session Management feature is based on time. A particular session is considered to be expired if more than 20 minutes pass without another request from the same client. At that point, the SESSION scope associated with that browser is freed from the server’s memory.

That said, ColdFusion provides a few options that you can use to subtly change the definition of a session, and to control more precisely when a particular session ends.

J2EE Session Variables and ColdFusion

ColdFusion includes an option that allows you to use J2EE session variables. This new option is different from the “classic” ColdFusion implementation ...

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.