Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connection Closing

Status
Not open for further replies.

FlyingFrog

Programmer
Jun 24, 2003
17
0
0
US
Hello Friends,
In my ASP pages I'm closing connections and recordsets at the end of the page. I have Response.Redirect statements in some of my pages. Since ASP is interpreted and not compiled will the Connections close when the response is redirected.

Thanks
 
No, the page stops executing at the Response.Redirect statement.

It has nothing to do with compiled vs. interpreted, as the Response.Redirect is effectively an "exit" statement, something that would end execution if it was compiled as well.
 
just make sure you have celaned up objects and connections before the redirect
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top