pg_pconnect - Mailing list pgsql-php

From sector119@mail.ru
Subject pg_pconnect
Date
Msg-id 20021227090902.GA2637@city.gov.te.ua
Whole thread Raw
Responses Re: pg_pconnect
Re: pg_pconnect
List pgsql-php
Hi

<?
echo "<html><body>\n";
$db = pg_pconnect("dbname=$dbname user=$user password=$dbpassword");
if (!$db)
echo "Connection can not be established!<br>\n";
else
echo "Connection established!<br>\n";
echo "<a href=\"cursor4.php\">next screen</a><br>";
echo "</body></html>";
?>

<?
echo "<html><body>\n";
if ($db)
echo "db handler is still valid!<br>\n";
else
echo "db handler does not exist anymore!<br>\n";
echo "</body></html>";
?>


when I click on next screen link I get db handler does not exist anymore! why???

--
WBR, sector119

pgsql-php by date:

Previous
From: sector119@mail.ru
Date:
Subject: pg_pconnect+PostgreSQL cursors
Next
From: Andrew McMillan
Date:
Subject: Re: pg_pconnect+PostgreSQL cursors