sessionExists

Returns true when a session has already been created for the current request.

sessionExists() → returns boolean

This function requires Lucee 6.2.1.16 and up.  Not supported on Adobe ColdFusion, etc.

Examples
Sample code invoking the sessionExists function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub