check out the encrypt() function for a simple start. D
>-----Original Message----- >From: Mark W. Breneman [mailto:[EMAIL PROTECTED]] >Sent: Friday, November 22, 2002 2:38 PM >To: CF-Talk >Subject: simple encode ??? > > >Does anyone have a simple way of encoding a url var? What I >am looking for >is to keep the string as short as possible and to make sure >you can not just >increment a value and get a different database record? I am >not looking to >make the values uncrackable, just not worth the effort to decode. > >I tried Encrypt but it makes the url very long. > > >What I love to see would look some thing like this: >Url before: >www.somename.com/index.cfm?id=234 >www.somename.com/index.cfm?[EMAIL PROTECTED] > >Url after: >www.somename.com/index.cfm?hU54JyF54 >www.somename.com/index.cfm?JuYhYt54DFerDFhUhtJK076jNHbGFRFn > >thanks > >Mark W. Breneman >-Macromedia Certified ColdFusion Developer >-Network / Web Server Administrator > Vivid Media > [EMAIL PROTECTED] > www.vividmedia.com > 608.270.9770 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm