O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required