Hey all, so i have a page that stores some data in a struct,
i convert the struct to wddx, encrypt it and pass the string in a
form field. On the action page i decrypt it but it's not decrypting
correctly, which does not allow me to convert it back to a cfml
struct. if i decrypt it and dump it out on the initial form page,
it works fine. for some reason, it seems to have a problem only
after being passed in the form. What am i doing wrong?
As far as the lines to encrypt/decrypt, they seem like they
must be right, because if i use them on the same page it works
> As far as the lines to encrypt/decrypt, they seem like
they must be right,
> because if i use them on the same page it works
Are you encoding the encrypted string to pass it through the
submit? Encrypted strings often contain special characters
that are not
allowed in a http get or post header or body. These strings
escaped to be properly passed.
urlEncodeFormat() should probably be in your process
the corresponding ...Decode() function on the other end.