- see footer for list info -<
It can also be done using client variables if you have them enabled in
the application. This handles all the cookies for you:
IF remember me selected...
client.username = form.username
client.password = form.password
Just remember to clear them when they logout (remember me status should
be cleared when someone logs out)
Snake wrote:
- see footer for list info -<
Usually yes, you hash the username/password, store in cookie.
So in the database, your usernames/passwords would also be hashed.
So under normal login procedure, you HASH the form.username and
form.password and compare to database.
If the user has a cookie.username and cookie.password, you check these first
(without hashing them), if they fail, kick to login page.
Russ
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Allan Cliff
Sent: 19 January 2006 14:17
To: Coldfusion Development
Subject: [CF-Dev] Keeping someone logged in
- see footer for list info -<
On loggong in some sites have a small checkbox that says remember me on this
computer.
How is this done?
Is the persons password saved with Hash() in a cookie?
Thanks
Allan
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
-<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<