Greetings people,

Just wondering if people are using the encrypt/decrypt functions
regularly?

They are being used on a site I've inherited to store usernames and
passwords in a cookie... a few users have complained that their
usernames are being scrambled. There is a username/password entry box
that gets pre-filled from their stored cookie.

Are these functions reliable? Is it possible that occasionally the
functions are not decrypting or encrypting properly?

The code storing the username looks like this:

<cfcookie name="Username" value="#encrypt(CheckMember.Username,
request.key)#" expires="NEVER">

The code showing the username looks like this:

<input type="text" name="Username" size="20" <cfif
IsDefined("Cookie.Username")>value="#decrypt(Cookie.Username,
request.key)#"</cfif> >

thanks, bye!

-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to