Professional Web Applications Themes

Connection Pooling - ASP Database

Hi Is anybody using connection pooling? The standard method what I saw is following - on every page: open new connection, make select, close connection. So, if one user visit one by one 10 pages - 10 connections will be created and destroyed. Some bad way, isn't it? A...

  1. #1

    Default Connection Pooling

    Hi

    Is anybody using connection pooling?
    The standard method what I saw is following - on every page: open new
    connection, make select, close connection. So, if one user visit one by one
    10 pages - 10 connections will be created and destroyed. Some bad way, isn't
    it?

    A


    RunneR Guest

  2. #2

    Default Re: Connection Pooling


    "RunneR" <ru> wrote in message
    news:estpak.ee... 
    Yes.
     
    one 
    isn't 
    No.

    Bob Lehmann


    Bob Guest

  3. #3

    Default Re: Connection Pooling

    RunneR wrote: 

    No, 10 connection will NOT be created and destroyed, unless they are created
    more than 60 seconds apart. Connection pooling (actually called "session
    pooling" in OLEDB) is the default behavior. When a connection is closed and
    destroyed on the page, it is actually moved into te pool of connections so
    that the next time a connection is requested, the one from the pool is used.

    http://support.microsoft.com/?scid=kb;en-us;Q176056
    http://support.microsoft.com/default.aspx?scid=kb;en-us;191572


    Bob Barrows
    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Guest

  4. #4

    Default Re: Connection Pooling

    > Is anybody using connection pooling?

    Most of us are, yes.
     
    one 
    isn't 

    No, you misunderstand how connection pooling works.


    Aaron Guest

Similar Threads

  1. Connection Pooling Error
    By CRoesener in forum Coldfusion Database Access
    Replies: 0
    Last Post: June 8th, 02:57 PM
  2. Connection Pooling
    By Trevor Hartman in forum Coldfusion Server Administration
    Replies: 5
    Last Post: May 24th, 07:18 PM
  3. CFMX 6.1 and Oracle 9i Connection Pooling
    By crentz in forum Coldfusion - Advanced Techniques
    Replies: 1
    Last Post: February 16th, 11:24 PM
  4. Oracle connection pooling
    By Lenny Shprekher in forum ASP.NET Web Services
    Replies: 0
    Last Post: December 9th, 04:22 PM
  5. Java Connection/Pooling Question
    By John Hibner in forum Informix
    Replies: 0
    Last Post: November 6th, 04:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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