intentional, and if others are experiencing the same thing.
With the CFMX6.1 updater installed, my jsessionid variables now contain
dollar signs instead of just being straight hexadecimal. That's fine
with me, it's still a unique identifier and it works fine.
Until I go to do something like this:
<cfloop index="var" list="CFID,CFTOKEN,JSESSIONID">
<cfcookie name="#var#" value="#Evaluate('Cookie.#var#')#">
</cfloop>
I've used this code for awhile, to redefine the cookies with the same
values, so I would have control over expiration times, paths, and other
cookie parameters. (Sometimes the attributes in cfapplication just
aren't enough)
Anywho. What I've been running into is the cfcookie tag sends a
different session ID to the browser. It turns the $ into %24. (I'm
guessing it goes through URLEncodeFormat internally, or something
similar) Well, the browser happily saves the %24 as %24, and hands it
back to coldfusion on the next page with the %24 in it. Coldfusion gets
confused, doesn't recognize the value (or the session) and assigns a new
one with a $ in it. My code forces them to login again, after which the
cookie code fires, and I'm back in a world of hurt.
This worked before the updater.
Is this a bug or a feature? Is anyone else running into something like
this?
Joe Gooch
K12 Systems, Inc
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

