Keeping Connection Open - Consequences?

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Keeping Connection Open - Consequences?

    I have an application where I need to keep the connection
    open because my application monitors 2 separate databases
    ever 1 second. Is there a consequence of keeping it open
    and using recordsets from that connection?

    Reason why, if I open it and close it after each use, I
    run into lots of errors because of it being open then it
    generates error messages. THe application does a lot of
    FTP processes and updates to either or both databases.

    Thanks for any and all help.

    Mike
    Mike Guest

  2. Similar Questions and Discussions

    1. #39239 [NEW]: pconnect canīt reuse open connection
      From: marcos dot neves at gmail dot com Operating system: FreeBSD 5.4-STABLE i386 PHP version: 5.1.6 PHP Bug Type: MySQL...
    2. JDBC driver connection to Span Open db
      Hi there, Has anyone had experience in connecting to a Span Open DB. I have a feeling that there is a problem with the JDBC driver connecting...
    3. Keeping connections open
      I am very new to asp, and I am wondering what is the best way to get around a this problem I use asp to give me a status on a database which is...
    4. connection.open issue??
      This code usually works the first time I run it, but if I hit refresh it fails with: "Unspecified error - /cosmetic/ask_dup.asp, line 12" which...
    5. There is already an open DataReader associated with this Connection
      I have an ASP .NET application. In the application, if I execute a long running query (which may time out or something I guess) from one...
  3. #2

    Default Re: Keeping Connection Open - Consequences?

    How do you keep a connection open. You can't keep one open from an asp
    page.


    Mike D

    "Mike" <anonymous@discussions.microsoft.com> wrote in message
    news:024d01c3c0d4$8e9f2520$a101280a@phx.gbl...
    > I have an application where I need to keep the connection
    > open because my application monitors 2 separate databases
    > ever 1 second. Is there a consequence of keeping it open
    > and using recordsets from that connection?
    >
    > Reason why, if I open it and close it after each use, I
    > run into lots of errors because of it being open then it
    > generates error messages. THe application does a lot of
    > FTP processes and updates to either or both databases.
    >
    > Thanks for any and all help.
    >
    > Mike

    Mike D Guest

  4. #3

    Default Re: Keeping Connection Open - Consequences?

    What error messages do you get when you open and close it on each use?
    What DBMS is it?

    --
    Mark Schupp
    Head of Development
    Integrity eLearning
    [url]www.ielearning.com[/url]


    "Mike" <anonymous@discussions.microsoft.com> wrote in message
    news:024d01c3c0d4$8e9f2520$a101280a@phx.gbl...
    > I have an application where I need to keep the connection
    > open because my application monitors 2 separate databases
    > ever 1 second. Is there a consequence of keeping it open
    > and using recordsets from that connection?
    >
    > Reason why, if I open it and close it after each use, I
    > run into lots of errors because of it being open then it
    > generates error messages. THe application does a lot of
    > FTP processes and updates to either or both databases.
    >
    > Thanks for any and all help.
    >
    > Mike

    Mark Schupp Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139