Response.End question

  • Thread starter Thread starter TheCornjerker
  • Start date Start date
T

TheCornjerker

Does a Response.End close down all data connection and readers? If I
do something like this....

cn.open()
dr=cm.executereader
if dr.read() then
' do something good ----
else
response.write('Nothing to do')
response.end()
end if
dr.close
cm.dispose
cn.dispose

Other than it being bad coding practices, will it cause leaks or fail
to close anything?
Thanks,
C
 
Back
Top