Print Page | Close Window

Unreleased objects

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=4229
Printed Date: 30 March 2026 at 10:06am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Unreleased objects
Posted By: fernan82
Subject: Unreleased objects
Date Posted: 13 July 2003 at 6:15pm
If there's any code (ASP) i could add at the bottom of an ASP page (in the footer) that would let me know if there's any unreleased objects & db connections at the end of the page... i can make it a javascript pop up just for admins, just need a way to get them in ASP... i just went haywire messing with my site's code and i think i deleted a few release objects that i shouldn't have deleted... i can find it fix it myself but it'll be a pain in the a$$

-------------
FeRnAN
http://www.danasoft.com/">



Replies:
Posted By: the boss
Date Posted: 14 July 2003 at 2:50pm

well u should always close and reset a BD connection or an object like:

ADOconnection.close()
Set ado  = Nothing



-------------
http://www.web2messenger.com/theboss">


Posted By: fernan82
Date Posted: 15 July 2003 at 1:30am
I know that, if you read my post i said that i wen haywire editing some code, i had to remove all the adocon.close, set adoCon = nothing, rscommon.close and set rsCommon = Nothing off most of my forum pages, i was in a hurry and i deleted a few that i shouldn't have.......... anyways i think i got them all already....

-------------
FeRnAN
http://www.danasoft.com/">


Posted By: Bunce
Date Posted: 15 July 2003 at 6:40am

for connections, you can check the connection state:

http://www.w3schools.com/ado/prop_state.asp - http://www.w3schools.com/ado/prop_state.asp

Cheers,
Andrew



-------------
There have been many, many posts made throughout the world...
This was one of them.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net