Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Php persistant connections to oracle

  • 11-12-2002 11:11PM
    #1
    Registered Users, Registered Users 2, Paid Member Posts: 5,863 ✭✭✭


    Hi
    Just wondering have people used OCINLogon to connect to an oracle database and kept the connection open through various scripts. I'm dubious if it will do what is intended - ie not commit the outstanding transactions until OCICommit is called but de boss thinks it should be done this way...


Comments

  • Registered Users, Registered Users 2 Posts: 23,202 ✭✭✭✭Tom Dunne


    While I have used the OCINLogon and stuff over one script, I haven't used while keeping the connection open over several. However, have you looked at Ora_Commitoff and Ora_Commiton? I imagine these would solve your problem by keeping Oracle from committing transactions until OCICommit is called.


Advertisement
Advertisement