Reply to Re: Session with Database

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация