附Rs.State使用例
function End_str(str)
if RS.state=1 then rs.close '请填空,谢谢
Set Rs = Nothing
Call EndConn()
response.write str
response.end
end function
...全文
466打赏收藏
请教未关闭数据源和记录集就respons.end的危害
听说会造成 SQL 缓冲池 堵塞,影响SQL 性能,因为要系统自动关闭数据源。 是这样吗? 附Rs.State使用例 function End_str(str) if RS.state=1 then rs.close '请填空,谢谢 Set Rs = Nothing Call EndConn() response.write str response.end end function