Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referencing db connection in vbscript class 1

Status
Not open for further replies.

AGP

Programmer
Sep 11, 2001
97
GB
I have an main.asp page that has one include file containg a database connection (i.e. cn), as well as a second include file that contains a vbscript class. Could anyone tell me how I can reference/pass my connection (cn) to the class? many thanks in advance.
 
include the connection file in the class file?

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top