My original question was this... I need to encrypt a numeric userid that gets passed through a url and through a form and is used in a query. The urlencodedformat string that gets passed through the url and set in a form hidden field was messing up the page design because it had a double quote in it. I was looking for a solution that would match all of the above requirements.
1. pass through a url safely 2. pass through a form safely 3. be encrypted based on a key (done) Thanks guys, Jason -----Original Message----- From: Matt Robertson [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 2:57 AM To: CF-Talk Subject: RE: RE: Encrypting Numeric ID's I believe the original post was about how to encrypt and then escape a string, not just escape it. 2 functions in and then out seems necessary to get that done, but I'd be happy to see a shorter route. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 3:59 PM To: CF-Talk Subject: Re: RE: Encrypting Numeric ID's Yes, but why bother doing all this work when htmlEditFormat() does all this for you? ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists