Print Page | Close Window

ASP Debugging

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=14287
Printed Date: 30 March 2026 at 11:41am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASP Debugging
Posted By: rob_andy
Subject: ASP Debugging
Date Posted: 17 March 2005 at 3:30pm
Hi there, hope there is somebody that can help me out.  For a while now my website has been experiencing some serious downtime.  I've been informed that its to do with memory resources on the server and scripts running on the site. The package we are on is a shared hosting so the control panel is very limited.  Is there anything I can do with my scripts to debug?
 
Thanks in advance.  Rob



Replies:
Posted By: Gullanian
Date Posted: 17 March 2005 at 5:27pm
Ensure all objects are being closed and set to nothing after they have been finished with.

Also if you are using Access database these can be reource intensive if they are of a reasonable size.


Posted By: rob_andy
Date Posted: 18 March 2005 at 8:19am
When you say object is this db objects?  Does this also apply to sessions?  Is ther any way through a webpage I can view all open objects?


Posted By: Gullanian
Date Posted: 18 March 2005 at 8:22am
Sessions will auto expire.  Be wary using them though, try not if if necessary.  You can almost always use cookies as an alternative.

When I say all objects I mean all objects!  Anywhere where there is a Set obj = New something, that needs to be wiped before the page finishes executing.


Posted By: rob_andy
Date Posted: 18 March 2005 at 8:56am
Is there a way I can very open objects? A simple page I can view over the web?  There is an application on my site that uses sessions, maybe I should change it to cookies then.  Need to learn how to use cookies first.


Posted By: Gullanian
Date Posted: 18 March 2005 at 9:31am
Problem with cookies is they use up server resources.  Stored in memory on the server.  Also you don't have as much control over it's expiry.  However, there are a couple of things sessions can do but not cookies.  So far in the things I've made I have found little use for them.

Not sure about viewing all open objects the quick and dirty way.  It's better to build up good coding standards and practises so you know the page is clean.  You will probably manually need to go through the whole thing.



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