If you need to read something from the db each time a page is loaded, I would do it something like this:
set db = server.createobject("adodb.connection"

set rs = server.CreateObject("adodb.recordset"

db.Open "DSN=yourDSN;UID=yourID;PWD=yourPwd;DATABASE=yourDB"
sql="SELECT variable1, variable2, variable3, variable4" & _
"FROM tablename " & _
"WHERE your matching criterea here"
'of course this is better with a stored procedure! ;-)
set rs = db.Execute(sql)
chrVariable1 = rs("variable1"

chrVariable2 = rs("variable2"

chrVariable3 = rs("variable3"

chrVariable4 = rs("variable4"
rs.Close
set rs=nothing
db.close
set db=nothing
chrVariable(N) can now be used thru out the ASP page and there is no connection or record set to deal with.
<HTML>
<BODY>
My First Variable = <%=chrVariable1%>
The Second one is = <%=chrVariable2%>
And of course 3rd = <%=chrVariable3%>
</BODY>
</HTML> =====================
Dennis B