In a server application would it be better to keep the Sage session and company open for a long time or to repeatedly open and close them for each transaction?

SOLVED

I have a web application that allows users to enter sales and purchase orders and I am wondering what is the best practice.

Repeatedly start a session, open the company, submit the order, close the company, end the session...

Start a session at startup and open the company and keep them open until server shutdown...

Start a session and open the company on the first order then close both after an appropriate idle period.

Or something else I haven't though of.

Thanks!