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.

  1. what kind of bugs?
  2. what rs.close means? mean connection database kept open long rs 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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -