Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. What happens when we forget to close recordset in web page?

What happens when we forget to close recordset in web page?

Scheduled Pinned Locked Moved ASP.NET
performancequestion
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kiran S S
    wrote on last edited by
    #1

    Hi Everybody, I am working with classic ASP. In one of my webpage i forgot to close a recordset. This recordset contains good amount of data. And I found this mistake very late. I have currected it. But I still want to 1) Is it affects on site speed? 2) How dose such mistakes affects Websites? What are the effects of such mistakes? Kiran Sajanikar.

    M N 2 Replies Last reply
    0
    • K Kiran S S

      Hi Everybody, I am working with classic ASP. In one of my webpage i forgot to close a recordset. This recordset contains good amount of data. And I found this mistake very late. I have currected it. But I still want to 1) Is it affects on site speed? 2) How dose such mistakes affects Websites? What are the effects of such mistakes? Kiran Sajanikar.

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      Kiran S. S. wrote:

      1. Is it affects on site speed?

      If you open tooo much of connection then it will affect on site speed. But the GC will clear the object that are no longer used for a particular time.

      Kiran S. S. wrote:

      1. How dose such mistakes affects Websites? What are the effects of such mistakes?

      Opening a lot of connections makes your server tired.

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

      N 1 Reply Last reply
      0
      • M Michael Sync

        Kiran S. S. wrote:

        1. Is it affects on site speed?

        If you open tooo much of connection then it will affect on site speed. But the GC will clear the object that are no longer used for a particular time.

        Kiran S. S. wrote:

        1. How dose such mistakes affects Websites? What are the effects of such mistakes?

        Opening a lot of connections makes your server tired.

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        Michael Sync wrote:

        But the GC will clear the object that are no longer used for a particular time.

        He is saying about classic ASP not .NET. GC won't be available there.

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

        M 1 Reply Last reply
        0
        • K Kiran S S

          Hi Everybody, I am working with classic ASP. In one of my webpage i forgot to close a recordset. This recordset contains good amount of data. And I found this mistake very late. I have currected it. But I still want to 1) Is it affects on site speed? 2) How dose such mistakes affects Websites? What are the effects of such mistakes? Kiran Sajanikar.

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          Kiran S. S. wrote:

          How dose such mistakes affects Websites? What are the effects of such mistakes?

          I guess the connection will be open. This may cause timeout errors if more number of concurrent requests are coming.

          All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

          K 1 Reply Last reply
          0
          • N N a v a n e e t h

            Kiran S. S. wrote:

            How dose such mistakes affects Websites? What are the effects of such mistakes?

            I guess the connection will be open. This may cause timeout errors if more number of concurrent requests are coming.

            All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

            K Offline
            K Offline
            Kiran S S
            wrote on last edited by
            #5

            In that page i have used two recordsets. One recordset and connection i have closed carefully. But i forgot to close that remained recordset.

            Kiran Sajanikar Software Engineer CleverBIT softwares. Pune.

            1 Reply Last reply
            0
            • N N a v a n e e t h

              Michael Sync wrote:

              But the GC will clear the object that are no longer used for a particular time.

              He is saying about classic ASP not .NET. GC won't be available there.

              All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

              M Offline
              M Offline
              Michael Sync
              wrote on last edited by
              #6

              N a v a n e e t h wrote:

              classic ASP

              Oh. I didn't notice.. I thought he is using ADODB in .NET. ya.. thanks.

              Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

              K 1 Reply Last reply
              0
              • M Michael Sync

                N a v a n e e t h wrote:

                classic ASP

                Oh. I didn't notice.. I thought he is using ADODB in .NET. ya.. thanks.

                Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

                K Offline
                K Offline
                Kiran S S
                wrote on last edited by
                #7

                So What are effects in such cases?

                Kiran Sajanikar Software Engineer CleverBIT softwares. Pune.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups