sessionTouch

Marks the session as changed so it is saved to session storage at the end of the request. sessionCommit() saves it right away instead. With the default memory session storage, Lucee 7.1.2.191 throws a class cast error.

sessionTouch() → returns void

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

Examples
Sample code invoking the sessionTouch function

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

Fork me on GitHub