Microsoft Developer Network > Forums Home > SQL Server Forums > SQL Server Data Access > oracle Connection is ACTIVE/NonACTIVE even connection is close from Dot net
Ask a questionAsk a question
 

Answeroracle Connection is ACTIVE/NonACTIVE even connection is close from Dot net

  • Friday, October 30, 2009 12:21 PMharshad1979 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have an application that connects to an oracle database and performs
    updates in the database. When the updates are finished the application
    performs:

    Commit on the connection object.
    Close on the command object.
    Close on the connection.
    Dispose on the command object.
    Dispose on the connection object.

    Still the connection exists in the database (I am loking in the Oracle
    database).
    From the .net application's view the connection is closed, but not from
    oracle's view.
    "INACTIVE" Session is Display in Oracle

    but when i Close the dot net application all inactive session has been closed from oracle also.

    now i want to remove INACTIVE Session from Oracle when connection is colsed or Disposed

    • Moved byShayne Burgess - MSFT Wednesday, November 04, 2009 11:39 PMIncorrectly Filed (From:ADO.NET Data Services (Pre-Release))
    •  

Answers

All Replies