title: "ORA-01012" error message when trying to connect to an Oracle database
body: <p>Using C# and Oracle Data Provider for .NET (ODP) I made a long query to the database, then I end the connection on the server side using TOAD. After that, the subsequent calls to the database, even creating a new OracleConnection object, throw the following error:</p>
  
  <pre><code>ORA-01012: not logged on
  Process ID: xxx
  Session ID: yyy Serial number: zzz
  </code></pre>
  
  <p>Where Process ID and Session ID are the identifiers I used to end the connection.</p>
  
  <p>It seems like when I end the connection to the Oracle database on the server side, the broken connection is returned to the connection pool. And when the C# client code (using ODP) opens a new connection, the broken connection that was returned to the connection pool may be retrieved.</p>
  
  <p>Any ideas on how to fix this behaviour?</p>
  
  <p>BTW I'm using Oracle client 10</p>