The query MemberRoles returns 2 values: 2 3

<!--- Set the query to a local variable --->
<cfoutput query="MemberRoles"
<cfset Roles = RoleID>
</cfoutput>

<!--- Set the local variable to a cookie --->
<cfcookie name="CFRoles" value="#Roles#">

Only one of the values is set to the cookie which in this case the value
becomes

CFRoles=3

I don't understand why the value of the local variable does not become the
value of the cookie.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to