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!