Posted by Chung Leong on 09/07/06 12:33
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?
It depends on the size of the page and the send buffer size. If there's
more data than the buffer can accommodate, then the script will stall
until some of that is transferred. The default send buffer size for
Apache is 64K I believe.
If you worry about this you can always call session_write_close() to
close the session manually instead of relying on it closing at the end
of the script.
Navigation:
[Reply to this message]
|