Click here to Skip to main content
15,921,646 members
Home / Discussions / Web Development
   

Web Development

 
GeneralEncoding Pin
23-Dec-00 21:37
suss23-Dec-00 21:37 
GeneralCSS usage Pin
18-Dec-00 8:02
suss18-Dec-00 8:02 
GeneralRe: CSS usage Pin
Chris Maunder18-Dec-00 9:57
cofounderChris Maunder18-Dec-00 9:57 
GeneralRe: CSS usage Pin
10-Jan-01 16:07
suss10-Jan-01 16:07 
GeneralASP: FSO how to check if a file exists Pin
13-Dec-00 1:55
suss13-Dec-00 1:55 
GeneralRe: ASP: FSO how to check if a file exists Pin
Chris Maunder18-Dec-00 11:43
cofounderChris Maunder18-Dec-00 11:43 
GeneralJavascript object wierdness Pin
11-Dec-00 12:43
suss11-Dec-00 12:43 
GeneralASP with MS Access: Username & Password Access Pin
ShAGgE_InC.7-Dec-00 12:00
ShAGgE_InC.7-Dec-00 12:00 
All of the examples I can find look in an Access DB to check a username and password to give access to the page or another DB. What I'm trying to find is a way to use the username and password in the string to open the DB along with a "if username is not correct then...".

Ex.

1. User is prompted to enter username and password on a page in text fields username and password.

2. When the user submits the page with the username and password entered, the values are stored in strUsername and strPassword.

3. A ADODB Connection is made [Server.CreateObject("ADODB.Connection")] and then the DB is about to be opened.

4. The path the DB is located in is set to strDatabasePath. Then the string to open the database is put together.
"DBQ=" & strDatabasePath & ";DefaultDir=;UID=" & strUsername & ";PWD=" & strPassword & ";"

5. When the string above is executed to open the database, I want the user to be promted to re-enter the username and password if the username and/or password is incorrect.

I've tried to be as descriptive as possible and hopefully not confusing.
GeneralASP Pin
Amol Pargaonkar6-Dec-00 19:12
Amol Pargaonkar6-Dec-00 19:12 
GeneralASP as interface for a Win32 APP Pin
Alexandre Wendt Shima1-Dec-00 5:18
Alexandre Wendt Shima1-Dec-00 5:18 
GeneralHOWTO: Run an App from a web page Pin
jerry0davis29-Nov-00 22:44
jerry0davis29-Nov-00 22:44 
GeneralJavaScript Menu does not work in Netscape Pin
Maureen25-Nov-00 17:07
Maureen25-Nov-00 17:07 
GeneralRe: JavaScript Menu does not work in Netscape Pin
Chris Maunder28-Nov-00 5:54
cofounderChris Maunder28-Nov-00 5:54 
GeneralRe: JavaScript Menu does not work in Netscape Pin
Santosh Rao19-Aug-01 20:10
Santosh Rao19-Aug-01 20:10 
GeneralHelp: CGI Programs using MFC can't find DLLs Pin
24-Nov-00 3:02
suss24-Nov-00 3:02 
GeneralRe: Help: CGI Programs using MFC can't find DLLs Pin
28-Nov-00 6:25
suss28-Nov-00 6:25 
GeneralBrand new to Perl and need HELP!!! Pin
Maureen17-Nov-00 8:30
Maureen17-Nov-00 8:30 
GeneralRe: Brand new to Perl and need HELP!!! Pin
skfnmuislædmufaæoi17-Nov-00 13:10
skfnmuislædmufaæoi17-Nov-00 13:10 
Generalcgi/perl free internet server Pin
17-Nov-00 1:29
suss17-Nov-00 1:29 
Generalhere it is Pin
28-Nov-00 18:47
suss28-Nov-00 18:47 
GeneralThanks ~~~ Pin
28-Nov-00 23:30
suss28-Nov-00 23:30 
GeneralThat is all right,Can we be friends? Pin
29-Nov-00 13:51
suss29-Nov-00 13:51 
GeneralBrowser Compatability - need help Pin
Lior4-Nov-00 21:53
Lior4-Nov-00 21:53 
GeneralIncluding asp content from another server Pin
nprice19-Oct-00 3:06
nprice19-Oct-00 3:06 
GeneralRe: Including asp content from another server Pin
Troy Marchand2-Nov-00 8:10
sitebuilderTroy Marchand2-Nov-00 8:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.