What does this line of code mean? ASP code

DAM

Diamond Member
Jan 10, 2000
6,102
1
76
set conn = server.createobject ("adodb.connection")
conn.open "ASPBook", "ap", "yourpassword" <------


I am not sure I understand the what connection is being open? is that 3 different adodb connections?



Thanks for your input.



dam()
 

gopunk

Lifer
Jul 7, 2001
29,239
2
0
i dunno asp that well, but i think you're opening a connection to a database... ASPBook being the db, ap being the username, and yourpassword being the password.
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
Yup, it's a opening a connection to a database that has a DSN named ASPBook followed by the username and a password.
 

gopunk

Lifer
Jul 7, 2001
29,239
2
0


<< ASP isn't a language. That looks like VB Script. >>



teacher teacher, do we get to turn in our hw? :p
 

WillyF1uhm1

Senior member
Aug 10, 2001
407
0
0
ASP (Active Server Pages) is a scripting language. And because it was 'developed' by Microsoft, I'm not at all surprised it uses VBscript.