As Jim said, you need to URLEncodedFormat() the result of Encrypt() before
putting it in the url...

Sam

----------------------------------------
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
----------------------------------------

> -----Original Message-----
> From: Philip Arnold [mailto:[EMAIL PROTECTED]
> Sent: Saturday, May 22, 2004 8:54 AM
> To: CF-Talk
> Subject: RE: Encrypting URLs
>
> > From: Les Irvin
> >
> >  What's the best way to encrypt URL variables?  For example,
> > I'm passing an ID number but do not want it recognizable in the URL
> >  
> > The "encrypt" function doesn't seem to work as it creates
> > reserved url characters.
>
> You can't use Encrypt() for URL variables because of the special
> characters it creates
>
> Here's an idea though, as long as you don't mind "long" URLs:
>
> Have a db table with "lookups", store a UUID with all of the URL
> variables, then when you call a UUID, it looks up the equivalent URL
> variables and uses them
>
> How's that?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to