You could always URLEncode it.  This works for hidden form fields.

--Paul

Paul W. Wille           [EMAIL PROTECTED]
---------------------------------------------------
Certified Advanced ColdFusion 5 Developer
---------------------------------------------------
ISITE Design, Inc. -- Solutions Architect
www.isitedesign.com
615 SW Broadway, Suite 200
Portland, OR 97205
503.221.9860 x110
503.221.9865
 

-----Original Message-----
From: Jason Dowdell [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 18, 2002 3:15 PM
To: CF-Talk
Subject: Encrypting Numeric ID's

Hi All,

I'm encrypting an integer using the encrypt() function
in CF.  Sometimes it puts a double quote character in
the encrypted string.  So when I put that value in a hidden
form field it looks something like this...

value="jd0"9em"

Of course you can see what happens.  The browser sees the
second double quote and disregards the rest of the value of
the variable.  I don't have the option of storing a hashed 
value as the primary key because the db is already designed.

Does anyone have any workarounds for this?

Thanks,
Jason
---------------------------------
Jason Dowdell
Engine Studio Inc.
www.EngineStudio.com
[EMAIL PROTECTED]
--------------------------------- 


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to