Jump to content

Archived

This topic is now archived and is closed to further replies.

stockton

When to ociLogon()?

Recommended Posts

I have a system made up of many PHP scripts each of which when started does a ociLogon() and when complete an ociLogoff() and my question is would it not be better to ociLogon() as the system is started and only when the user is finished with the system ociLogoff()? 

Share this post


Link to post
Share on other sites

Generally it would be best to open one connection per request then close it when done.

Share this post


Link to post
Share on other sites

Generally it would be best to open one connection per request then close it when done.

 

Thank you, that is what I thought.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.