One not on the encrypted thing. Do the decrypt OUTSIDE of the query (ie,
set a variable to the unecrypted string and use that in the query),
otherwise evil things happen.

> <cfcookie name="foo" value="#Encrypt(foo,"123")#">
> and then re-use the ordinary within a cfquery
>
> SELECT from ..... WHERE userpassword='#Decrypt(Cookie.foo,"123")#'
>
> does this takes noticable time and process usage? I mean - much more then
> NOT encrypting?
>
> -M.
> 
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to