RE: Implementing "remember me" capability

2002-09-09 Thread Phoeun Pha
y, September 09, 2002 10:18 AM To: CF-Talk Subject: RE: Implementing "remember me" capability How do you read the cookie using Javascript? TIA, Susan Hamilton Allen Web Programmer Pfingsten Publishing, L.L.C. Seven Hills, OH 44131 -Original Message- From: Phoeun Pha [mailt

RE: Implementing "remember me" capability

2002-09-09 Thread Susan Hamilton-Allen
"remember me" capability >n the login page, have the system read the cookie (use javascript to read >it), and if it is set to one, forward them to a page that will do the >following... __ Structure your ColdFusio

Re: Implementing "remember me" capability

2002-09-09 Thread Jeffry Houser
I've done this a variety of ways. I think the one I like the most is to use the cfid and cftoken values. Concatenate the two values and store them in the database in the user table. Also store a boolean field specifying whether or not the user wants to log in again. When the user come

RE: Implementing "remember me" capability

2002-09-09 Thread Phoeun Pha
First have a cookie named RememberMe. Its only values are only 1, or 0. 1 being Yes, and 0 being No. When users choose the RememberMe option, set that cookie to 1, and set another cookie with some randomly generated unique alphanumeric string. Call this cookie MyUniqueNum. Also set the your da

RE: Implementing "remember me" capability

2002-09-09 Thread Kevin Gilchrist
This goes beyond what you ask for but for good security and if you have a manageable number of client users you can issue x.509 certificates to them and use the SSL client digital certificate authentication by the web server. You'd need to set up your own Certificate Authority to issue certificate