| 
	
 | 
 Posted by Jerry Stuckle on 09/07/06 12:35 
Gucci wrote: 
> Some guy told me if i use database to store the session data and the 
> client has a low speed, the database will be kept connected until the 
> client agent download the webpage totally. 
> is that true? 
>  
 
Probably not, but it depends on what you're doing. 
 
For instance - if you're sending a lot of information from the database, 
it's possible you'll fill the buffers and your program will have to 
wait.  However, that's highly unlikely. 
 
Rather, when your page runs the output will be buffered by the web 
server.  If you close the connection in your code, it will be closed 
immediately.  If you don't close the connection, at some later time the 
garbage collector will clean up and close the connection for you. 
 
--  
================== 
Remove the "x" from my email address 
Jerry Stuckle 
JDS Computer Training Corp. 
jstucklex@attglobal.net 
==================
 
[Back to original message] 
 |