1 Reply Latest reply on Aug 29, 2006 9:35 AM by dempster

    How to Encrypt URL Variable from remote site to CF Page?

    Scooby_Doobie_Doo
      Is there a way I can encrypt a username on a URL from a remote site, and then decrypt it on the CF login page on my server? I want to allow them to seamlessly login in, but don't want to show their real data on the url line. Is there a way to do this?
        • 1. Re: How to Encrypt URL Variable from remote site to CF Page?
          dempster Level 1
          You can create an encrypted string this way: Encrypt('myusername', 'seed123')

          With that string, your URL would be something like this: login.cfm?uID=)68>3OYV;aZ99V,

          And your login.cfm program would get the real ID this way: Decrypt(URL.uid,'seed123')

          But I'm not sure what that gets you. Anyone clicking the link would go to the page that decrypts the username and presumably displays it in order to prompt for a password.