Current location: Hot Scripts Forums » Programming Languages » ASP » asp & MySQL connection


asp & MySQL connection

Reply
  #1 (permalink)  
Old 07-21-09, 02:31 PM
jasjmorris jasjmorris is offline
New Member
 
Join Date: Nov 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
asp & MySQL connection

I have a couple of questions.

I have a site every page request access to the database.


Inc_Header.asp <--- Include file for everypage ( Keeps database connector )

Inc_Footer.asp <--- Include file for everypage ( Keeps database closing )

so basicly the way it should work

Pull Inc_header.asp
Open connection

Run script for page that is loaded

Pull Inc_footer.asp
close connection

well i am looking in my PROCESSLIST for SQL and it is showing a process but it show Sleep for Command


is there a reason there would be a process there if i have closed it?

if I publish this site for the public I don't want thousands of processes there..

How many connections/process will SQL allow before not allowing anymore?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP or PHP which is better? nepala The Lounge 9 07-14-10 06:48 AM
For Hire: Looking for Php, Mysql, Asp, Ajax work (4 years exp.) t_narendra Job Offers & Assistance 2 01-29-07 04:06 PM
[For Hire] Php, Mysql ASP, AJAX programmer t_narendra Job Offers & Assistance 0 11-29-06 07:08 AM
[For Hire] Php, Mysql, ASP, AJAX, DHTML programmer t_narendra Job Offers & Assistance 0 09-01-06 02:25 AM
Closing a MySQL connection surebetdmg PHP 5 08-15-03 09:37 AM


All times are GMT -5. The time now is 09:47 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.