php - Delay at end of page load when using mssql -
i have working installation of mssql, php on windows 2003, sql server 2008 express. got connection working right, connection database quick disconnection slow. delays final loading of page 5 seconds, though page loaded in few milliseconds.
i think php/mssql not releasing connection database quickly. main problem here javascript yui scripts wont run until page thinks loaded.
i've tried closing connection don't need no avail.
anyone know setting set fix it?
you can call php flush() function make content generated script still in php or apache buffer flushed.
also, if used mssql_pconnect establish persistent connections ms sql database, connection never closed when php script exists, suppose mssql_close not hold script anymore.
Comments
Post a Comment