[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:[cobalt-users] [OT] mysql & php



"Filiberto Ricci" <filiberto@xxxxxxxxx> wrote on 26.02.01 00:11:30:
>I would like to know if my solution (setting a shorter wait_timeout) 
>was right, or if it would be better to use mysql_connect instaed of
>mysql_pconnect or if there is someting else I can do.
>Why the persistent connection aren't always reused?
>What about server usage?

Hi Filiberto !

It depends ;-)
You should use persistent connections only when you really need them.
Especially on a highly frequented site.

You could use cookies or session-IDs to keep the connection (the same 
user). 

Thomas

--
InternAd.de
Internet Advertising
Thomas Prosi
tp@xxxxxxxxxxx