How to make interface * directly * to the database engine MSAccess to identify and count the number of open connections?
This would serve to create a small program that would be used during the development of dynamic web pages in ASP.
When you launch the ASP page in a browser and opens the connection
the program should show 1.
When the page finishes and closes the connection
the program should score 0.
If you forget to close the connection (set cnn=nothing), the program continues to score 1. This should be a useful warning to the developer.
Thanks in advance.
This would serve to create a small program that would be used during the development of dynamic web pages in ASP.
When you launch the ASP page in a browser and opens the connection
Code:
cnn.Open "Provider = Microsoft.Jet.OLEDB.4.0; Data Source =" + Session ("gloDB") + "dbSkiAlp.MDB"
When the page finishes and closes the connection
Code:
cnn.close: set cnn = nothing
If you forget to close the connection (set cnn=nothing), the program continues to score 1. This should be a useful warning to the developer.
Thanks in advance.