Ending Sessions on Browser Close

ColdFusion SESSION variables use two cookies (named CFID and CFTOKEN) to identify clients. These persist even after a browser is closed, and so ColdFusion sessions can remain active even if a browser is closed and then reopened. J2EE sessions terminate when a browser closes, so if you need this behavior consider using J2EE sessions instead of the default ColdFusion sessions. (Applies to: ColdFusion MX)

Leave a Reply