Good morning
I am experiencing an intermittent connection problem
When connecting to oracle using $oci_new_connect.
It appears that if two connections use the same username
And servicename they can interfere with each other.
I get a range of errors including OCISessionBegin: ORA-03127:
no new operations allowed until the active operation ends
and OCIFetch: ORA-01001: invalid cursor.
The problem is intermittent, the query will run
With out problem if there is only one user connected . The data is fine no
Clobs or binary stuff, just varchar2(20).
I am not using persistent connections and use the
$oci_new_connect each time. And close connection asap.
To get around this I have set up 10 different service names and
Would like to use them sequentially.
I would like to store the last used connection servicename as a
Globally available Environment variable on the windows server
Running apache.(or just a counter counting up to 10)
I can then read and increment the variable with each new connection.
Any idea’s on the best way to achieve this.
Thanks
David