title: ORA-02396: exceeded maximum idle time, please connect again error
body: <p>I have a ASP.Net MVC Application connecting to Oracle DB. I am using LINQ in my controller to pull data from Oracle DB.</p>
  
  <p>If that page is loaded, after several minutes if its idle, it gives the above error.</p>
  
  <p>Now I can't ask my DBA to increase the idle time. In my research I saw mention of Pooling in Web.config file. My understanding is that, because of Pooling, some of these connections are still active. I have removed this portion </p>
  
  <blockquote>
    <p>Min Pool Size=1;Max Pool Size=20;Pooling=true</p>
  </blockquote>
  
  <p>Do I have to explicitly say in my Web.config:</p>
  
  <blockquote>
    <p>Pooling=false</p>
  </blockquote>
  
  <p>I also have in my Controller, Dispose function as below but that doesn't help:</p>
  
  <pre><code>protected override void Dispose(bool disposing)
          {
              if (disposing)
              {
                  db.Dispose();
              }
  
              base.Dispose(disposing);
          }
  </code></pre>
  
  <p>Please help.</p>