ASP 101 - Active Server Pages 101 - Web04
The Place ASP Developers Go!

Please visit our partners

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates

ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

 Top ASP 101 Stories Top ASP 101 Stories
Getting Scripts to Run on a Schedule
The Top 10 ASP Links @
What is and Why Do I Need It?

Be Sure To Randomize Your Random Numbers
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates

Quick Tips

Connection Pooling lightens the load
If your application connects to a database, you will want to use Connection Pooling to let your users access open connections to the database. By sharing the connections to the database, you avoid having to create a unique connection for each individual user. Windows NT 4.0 provides built-in support for Connection Pooling. To make sure that your ASP application takes advantage of it, follow these five steps:

1. Configure the driver for the database to which you are establishing a connection. SQL Server supports Connection Pooling by default.

2. Check the Windows NT registry to verify that Connection Pooling is on, and let it handle the connection logic.

3. If Connection Pooling is off, use Regedit32 to turn it on in the Windows NT registry.

4. Open individual connections in your ActiveX Database Objects (ADO) code just before you need data access on each individual page.

5. Close your connections when you complete the data-access activities.

Previous      Show All Tips      Next

If you have a tip you would like to submit, please send it to:

Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers