[DB-SIG] Consistent connection to Oracle

Titu Kim kimtitu@yahoo.com
Thu, 6 Dec 2001 17:56:12 -0800 (PST)


I am wondering how can i keep using the same
connection to Oracle Database through DCOracle2. In my
cgi script, i do
##############################
connection =
      DCOracle2.connect(dsn="username/password@db")
c = connection.cursor()
##############################
at the beginning of the script and i close the
connection at the end of the script using
connection.close(). How can i place this connection so
it is reusable without reconnecting for every request?
Thanks.

Kim Titu


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com