MySQL Forums
Forum List  »  PHP

Persistent Connection
Posted by: Massimo Hiro
Date: July 21, 2008 07:28PM

Please help me to understand persistent connection correctly...

If I use persistent connection, in what condition PHP will use the existing connection instead of creating a new one? Let's say user A browsing my website through his computer ... I suppose one persistent is created for him... and when he moves from one page to another PHP will use the same connection instead of creating a new one. Now when user B browsing my website through another computer... will PHP create a new persistent connection dedicated for B or PHP will use the same connection created for A? Thanks.

Options: ReplyQuote

Written By
Persistent Connection
July 21, 2008 07:28PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.