thanks, I configured php under apache as a module
now connection doesn't disappear after script is done
it stays alive..
now another problem:
first time I open connection this way..
if (empty($cx)){
$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
}
if next time i will use the same construction it will not reuse my existing
connection
but it generates another one which stays alive like the first one..
after a while i get an odbc message
"Database server connection limit exceeded"
The question is:
how can I determine if connection is already active and how can I reuse it
then?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php