Forum Moderators: open
can anyone can please tell me if there is anyway or anyscript that will close every connection to a database everytime the script is launched? at least this way i can schedule all connections to be closed on the server.
any advice would be very much appreciated.
thanks in advanced.
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
then, at the bottom of the pages that have a recordset and a connection, include this:
<!--#include file="closer.asp" -->
The above assumes your recordset is "rs" and your connection is "conn"