sessionRotate
Creates a new session (using new session ids) and copies session scope into this new session, then invalidates the old session. Used after a valid login to prevent session fixation.
sessionRotate() → returns void
Compatibility
ColdFusion:
Version 10+ Does not rotate jsessionid when JEE sessions are enabled, only works with ColdFusion sessions (CFID,CFTOKEN).
Links more information about sessionRotate
- SessionRotate for JEE Sessions - A UDF for rotating JEE sessions.
Examples Sample code invoking the sessionRotate function
© 2012–present Foundeo, Inc. and the CFDocs contributors.
Licensed under the MIT License.
ColdFusion is a trademark of Adobe Systems Incorporated.
https://cfdocs.org/sessionrotate