Making a database connection persists in PHP

Поиск
Список
Период
Сортировка
От Mary Anderson
Тема Making a database connection persists in PHP
Дата
Msg-id 47F17841.2070506@demog.berkeley.edu
обсуждение исходный текст
Ответы Re: Making a database connection persists in PHP  ("Michael Swierczek" <mike.swierczek@gmail.com>)
Список pgsql-novice
Hi all,
    Don't know if this should go to the PHP group or the postgresql group

    I am writing a PHP-postgres application.  I would like to have a
database connection persists across php pages.  What the application
does at present is to create a new connection every time a new page is
called.  Can I put a connection into a session variable?

    Thanks

Mary Anderson

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Eyenga, Patty"
Дата:
Сообщение: setup of pg_cluster
Следующее
От: "Michael Swierczek"
Дата:
Сообщение: Re: Making a database connection persists in PHP