Can someone help me with this code?

Either of the below doesn't want to hold session.ActiveFlag as an array. My
goal is to get the functionality that I believe A. would provide. But, I
can't get B to work either.

Thanks,

Nick

A.
<CFIF NOT ISDEFINED("session.ActiveFlag")>
         <cfset session.ActiveFlag = ArrayNew(1)>
         <cfset temp = ArraySet(session.ActiveFlag, 1,#session.ArraySize#,
"NO")>
</CFIF>

B.

  <cfset Dummy = StructDelete(session, "ActiveFlag", TRUE)>
<cfset session.ActiveFlag = ArrayNew(1)>
<cfset temp = ArraySet(session.ActiveFlag, 1,#session.ArraySize#, "NO")>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to