Posted on 2002-07-15
I have a program which involve many php scripts.
Each of them works with a different table, so I "create" a connection in the top of each PHP.
All works fine...
What I wan´t to do is optimize the connection to Oracle, so I try to use Ora_Logon "only once", then I try to pass this connection by sessions or by "POST " params, to the other pages, but nothing works.
So the only way to make the program works is to open a connection in each PHP page.
Any idea how can I handle this situation so I can open ONLY ONE PERSISTENT connection to ORACLE?.