should remove the HTML codes and put the original characters back in.
Form:
<input type="hidden" name="foo"
value="#HTMLEditFormat(Encrypt(myvalue,mykey))#">
Action:
<cfset myvalue = Decrypt(form.foo,mykey)>
Pascal
> -----Original Message-----
> From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
> Sent: maandag 22 maart 2004 17:11
> To: CF-Talk
> Subject: Encrypted form Fields
>
> I am encrypting the values of certain hidden form fields I
> have. I have come up with a key to use with the encrypt
> function however sometimes certain characters throw the HTML
> off: for instance, if there is a " (quotation
> mark) it ends the tag attribute when the page is output. I
> thought about using HTMLEditFormat() but when trying to use
> HTMLCodeformat, the pre tags that it spits out throws off the
> decryption. Does anyone have nay suggestions?
>
> Thanks!
>
> Mike
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

