I have 2 CGI scripts. Each script makes some queries to PostgreSQL and
returns html code as a result .
1-st CGI returns: "Hello, Anny!" (Anny is choosen from DataBase)
2-nd CGI returns: "There is 3 messages for you!" (nu,ber of messages
is choosen from Database)
Scripts can run separately each from other.
Suppose, that I want to call 2-nd script from the first via HTTP or
I receive: "Hello, Anny! There is 3 messages for you!"
All OK, but I have two separated queries and two Backends started.
It's not good, because I don't need any concurrency :(
How can I optimize such situation?
1. Share Database conection among two scripts. Can I do it?
2. Write "proxy" daemon to execute queries. Is it possible?
3. Use Application Servers and so either (can't use them and any other
Thenks, Alexey V. Meledin
InterForge Developers Group, Saint-Petersburg
mail_to: <avm(at)webclub(dot)ru><nick_as: <cureman>>>>
In response to
pgsql-interfaces by date
|Next:||From: Alexey V. Meledin||Date: 2000-02-22 10:04:00|
|Subject: Sharing Database Connection Among Different CGI scripts writen in different languages|
|Previous:||From: Chandra Wibawa||Date: 2000-02-22 09:30:36|
|Subject: Fw: Thank for your Clue - PostgreSQL ODBC|