Not that I'd ever think storing important information in a cookie was a good idea any way....
But, hashing the password and encrypting the string could be a way... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pat Branley Sent: Monday, 11 July 2005 3:24 p.m. To: CFAussie Mailing List Subject: [cfaussie] Re: Cookies is probably better to hash / encrypt the whole string rather than this user1={Hash of > password},user2={Hash of password} or hash the values and encrypt the string even... because it gives away more information about how your page works (ie. variable names) David Harris wrote: > Another way to protect the data could be to Hash it. > This is a very effective way of protecting information, as you get the > same result every time you Hash a given value, but it is impossible to > reverse. > > Your cookie would contain something like "user1={Hash of > password},user2={Hash of password}" > > David > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Kym > Kovan > Sent: Friday, 8 July 2005 12:26 p.m. > To: CFAussie Mailing List > Subject: [cfaussie] Re: Cookies > > > > > [EMAIL PROTECTED] wrote: > >>Hi >> >>Is it possible to store several variables within one cookie e.g. have >>a cookie called userIDs and have userID_1 = password1, userid_2 = >>password2, userid_3 = password3 all stored within this one cookie. If > > >>this is possible, how would I go about accessing, say userID_2 from >>that one main cookie. >> >>The reason I ask this is that my application uses several cookies and >>I've just found out that IE will only let you stored 20 cookies per >>site. > > > Like the others that have responded I ponder over what it is you are > actually doing but to answer the question in general what you need to do > > is put all of the info you need to store in an array or structure and > then make the whole thing into a WDDX packet, which is a string and so > can be put into a cookie. > > >>Neil H >>UK (not London thankfully!) > > > All the best over there..... > > > Kym K > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To > unsubscribe send a blank email to > [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > This email contains confidential information. If you are not the > intended recipient of this email, please notify Straker Interactive > and delete the email. You are not entitled to use it in any way. > > > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
