Hi everyone,
if I have code like this in page1.asp:
If a=b then
'do something
Else
response.redirect("page2.asp")\
End if
set cmdTemp=Nothing
conn.close
set conn=nothing
Does that mean if the line response.redirect statement get executed, the last three lines of code in page1.asp will not be executed and the obejct and conn actually will not close or released?
if I have code like this in page1.asp:
If a=b then
'do something
Else
response.redirect("page2.asp")\
End if
set cmdTemp=Nothing
conn.close
set conn=nothing
Does that mean if the line response.redirect statement get executed, the last three lines of code in page1.asp will not be executed and the obejct and conn actually will not close or released?