Wednesday, February 5, 2014

ColdFusion: Passing encrypted values in url

If you're using encrypt / decrypt on url variables, urlencodedformat doesn't always work. Instead, use tobase64() after encoding and tostring(tobinary()) before decoding. This will ensure that only alphanumeric characters are passed in the url.