Session
Functions
- CSRFGenerateToken()
Provides a random token and stores it in the session.
- CSRFVerifyToken()
Validates the given token against the same stored in the session for a specific key.
- SessionCommit()
Force saving the session to storage, useful when sessionCluster is enabled.
- SessionExists()
Returns a boolean indicating if a session has been already created / exists.
- SessionInvalidate()
Invalidates or cleans up the current session.
- SessionRotate()
invalidate current session, creates a new session and migrate the data from the old session to the new.
- SessionStartTime()
Provides information about the time when the current users session scope was created.
Tags
- Application.cfc / <cfapplication>
Defines a CFML Application and configures the properties / behavior of that Application
Guides
- Monitoring - Enable for your session
Shows you a way to enable Monitoring for your session
- Session Handling in Lucee
Comprehensive guide on session handling and configuration in Lucee, including session types, storage options, and security considerations.
- Using database for session data storage
The why and how to use a database for session data storage