[coldbox 3.5.3] GetPlugin("CookieStorage") wrapping values in quotes

I upgraded my copy from 3.1.0 to 3.5.3 the other day, and have now discovered that when a user logs into the site, and I store their userid in a cookie, the getPlugin call is wrapping the numeric ID in quotes:

<cfset getPlugin(“CookieStorage”).setVar(name=“userid”, value=data.login.userid, expires=1)>

If I dump the cookie scope, I would see “958” returned. If I dump data.login.userid, I get just 958.

Have I done something wrong or is this a bug? 3.1.0 doesn’t have this problem.

Rob

Nothing huh?

It might be the JSON serialization

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano