ADO Objects

Results 1 to 2 of 2

Thread: ADO Objects

  1. #1
    Join Date
    Dec 1969

    Default ADO Objects

    Why is it good form to always close and destroy your ADO objects before redirecting to another page?<BR><BR>What is the theory behind this

  2. #2
    Join Date
    Dec 1969

    Default RE: ADO Objects

    the object&#039;s memory space is not explicitly cleared on a redirect, so the application holds the object references in memory still, even though youre not using them.<BR><BR>this results in poor performance if you have lots of users on your web app... redirecting does not clear the objects for you; it simply moves the user to another page.<BR><BR>but, because HTTP is stateless, you can create new objects on the next page with the same names and same object types, but you will have 2 existing objects, but be unable to reference the first object from the previous page...<BR><BR>HTH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts