Re: Persistent connection & many scripts ?

From: Date: Wed, 18 Apr 2001 11:39:57 +0000
Subject: Re: Persistent connection & many scripts ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49180@lists.php.net to get a copy of this message
On Tuesday 17 April 2001 16:28, you wrote: > Yes... I'm not familiar with sessions. This should be like this ? : > > In connect.php : > <?php > session_start(); > $connect = pg_pConnect("blablabla"); > session_register("connect"); > <A HREF="query.php?<?=SID"?>clique ici</?> > ?> Simply using pg_pconnect() (without saving the connection ID) should be just as fast and more failproof -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) AAAAA - American Association Against Acronym Abuse

« previous php.general (#49180) next »