Created
December 5, 2022 14:43
-
-
Save trycf/be3f8fed1d5d9c45aca1498f947556c5 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset session.original = 1> | |
<cfloop collection="#session#" item="i"> | |
<cfdump var="#isDefined(session.original)#"> | |
<cfif isDefined('original')> | |
<cfset session[i]['sessionRotated'] = structCount(i.original)> | |
<cfset session[i]['original'] = ''> | |
</cfif> | |
<cfset SetVariable("i.session.#i#",duplicate(session[i]))> | |
</cfloop> | |
<cfdump var="#irongateBox.session#"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment