Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ASP Debugging
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASP Debugging

 Post Reply Post Reply
Author
rob_andy View Drop Down
Newbie
Newbie


Joined: 21 February 2003
Location: United Kingdom
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote rob_andy Quote  Post ReplyReply Direct Link To This Post Topic: ASP Debugging
    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
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
rob_andy View Drop Down
Newbie
Newbie


Joined: 21 February 2003
Location: United Kingdom
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote rob_andy Quote  Post ReplyReply Direct Link To This Post 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?

Edited by rob_andy - 18 March 2005 at 8:20am
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
rob_andy View Drop Down
Newbie
Newbie


Joined: 21 February 2003
Location: United Kingdom
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote rob_andy Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.