![]() |
| ||
| Setting up user name and password I have a page where the user can enter his username and password. Does anyone have any examples on how to check the database for to make sure the user matches the username and password. Thanks!!! |
| ||
| Re: Setting up user name and password Something like this should do it: <CFQUERY name="login" datasource="#dsn#"> SELECT * FROM Users WHERE UserName='#username#' AND Pwd = '#pwd#' </CFQUERY> Of course your datasource, table name, fieldnames, and variables have to match your situation. Quote:
|
| ||
| Resolved Thanks, worked good. |
| All times are GMT -4. The time now is 3:42 am. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC