Re: [PHP] session and mysql connection identifier

2004-07-21 Thread Dennis Gearon
What he is really looking for is connection pooling. Do a google and see if you can find 'mysql connection pooling php'. It is persistent connections across page accesses, which PHP does not do natively AFAIK. Jason Wong <[EMAIL PROTECTED]> wrote: On Wednesday 21 July 2004 13:47, mukta telang wr

Re: [PHP] session and mysql connection identifier

2004-07-21 Thread Justin Patrin
On Tue, 20 Jul 2004 22:47:43 -0700 (PDT), mukta telang <[EMAIL PROTECTED]> wrote: > Hi, > I want to use mysql persistent connection to connect > to mysql and use the connection identifier or handle > in subsequent pages/scripts. So in script1.php I have > session_start(); > session_register('conn')

Re: [PHP] session and mysql connection identifier

2004-07-20 Thread Jason Wong
On Wednesday 21 July 2004 13:47, mukta telang wrote: > I want to use mysql persistent connection to connect > to mysql and use the connection identifier or handle > in subsequent pages/scripts. So in script1.php I have > session_start(); > session_register('conn'); > HTTP_SESSION_VARS['conn']=mysq

RE: [PHP] session and mysql connection identifier

2004-07-20 Thread Umesh Deshmukh
Hi, Please check if you have put session_start() on script2. Umesh. -Original Message- From: mukta telang [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 11:18 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PHP] session and mysql connection identifier Hi, I want to

[PHP] session and mysql connection identifier

2004-07-20 Thread mukta telang
Hi, I want to use mysql persistent connection to connect to mysql and use the connection identifier or handle in subsequent pages/scripts. So in script1.php I have session_start(); session_register('conn'); HTTP_SESSION_VARS['conn']=mysql_pconnect(...); and in script2.php I have, echo $conn; and