SessionRotate()
invalidate current session, creates a new session and migrate the data from the old session to the new.
SessionRotate( );
Returns: void
This function does not take any arguments.
Examples
<cfset session.name = "lucee" />
<cfdump var="#session#" label="Before sessionRotate">
<cfset sessionRotate()/>
<cfset session.name = "Susi" />
<cfdump var="#session#" label="After sessionRotate">
See also
- Session
- SessionInvalidate()
- SessionStartTime()
- Application.cfc / <cfapplication>
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)