I am using VB6 and Oracle in my project.When I open an .exe one session gets created.
If the application is doing some insert or Update to my Datatbase then, I want a Session to be created and after completing that transaction(DML Statement) ,I want that sesssion to be destroyed or disconnect from Oracle.
Again for a new Transaction, I want to create a session and destroyed after the completion of the Transactions.

Please help...........................

an vb application creates a session in oracle once you open a connection and is closed when you close the connection object.