> I took a string, encrypted it and then url encoded.

Encrypted strings can contain all sorts of interesting characters and
using URLEncodedFormat() isn't generally recommended for passing an
encrypted string through the URL.  Use the toBase64() function to
base-64 encode it, THEN use URLEncodedFormat() and pass that through
to the URL instead.  It will be a lot cleaner and prevent the
encrypted string from becoming malformed in transit which could lead
to problems decrypting it later.  On the receiving end, decode the
base-64 format back to another variable and you'll be all set:

<cfset original = toBinary(url.my_base_64_value) />


-Justin

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348171
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to