Andrea,

I imagine you are trying to encrypt an some sort of an id from a
database...so here goes..

<cfset id = encrypt(id, somehashofyourchoice)>
<!--- the above encrypts the id --->

<cfoutput>
<a href="www.somewhere.com/default.cfm?id=#urlencodedformat(id)#">
</cfoutput>

<!--- the above puts the encoded id in a safe url string --->



Aaron


-----Original Message-----
From: Andrea W [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 02, 2000 1:44 PM
To: [EMAIL PROTECTED]
Subject: CFENCRYPT w/url parameters


Can anyone come with a way to encrypt a url parameter that I am including in
a cfmail that will be used to send people to a url which will then use the
url parameters in a query? I tried to cfencrypt the parameters but the
encryption puts in all sorts of special characters so that the link will not
work.

Thanks,

Andrea
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to