asp classic - Why should I close and destroy a recordset? -
i read article: http://www.utteraccess.com/wiki/index.php/recordsets_for_beginners, , says it's important me close , destroy rs's this:
rs.close set rs = nothing
, if don't, bugs may happen.
- what kind of bugs?
- what
rs.close
means? mean connection database kept open longrs
isn't closed?
rs.close
cleans resources used internally, because asp single process doesn't have gc set rs = nothing
aids in clean up.
it de-references objects, without you'll have memory leak. nice isn't it?
Comments
Post a Comment