[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:[cobalt-users] [OT] mysql & php
- Subject: Re:[cobalt-users] [OT] mysql & php
- From: RaQ3 <cobalt@xxxxxxxxxxx>
- Date: Mon Feb 26 06:59:50 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"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