you'd need to look at some of these peoples account that are having this problem, i.e. 
find out who is having the problem and on which page. Log in as them and recreate the 
propblem.

Then have a look at the HTML/source, maybe it encrypts it and uses characters like " 
or '

Or is it really like unreadable? If so, then I would say your not passing the correct 
key to decrypt somehow.



-----Original Message-----
From: Ryan Sabir [mailto:[EMAIL PROTECTED]
Sent: Thursday, 30 October 2003 8:58 AM
To: CFAussie Mailing List
Subject: [cfaussie] encrypt / decrypt


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

---
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