title: What is difference between Oracle session and Oracle Connection Or Both are the same..?
body: <p>I m using the Enterprise lib to connect Oracle Database</p>
  
  <pre><code>class Customer{
       private readonly Database _db;
        public Customer(){
              _db = = DatabaseFactory.CreateDatabase(_userSettings.ConnstringName);
         }
  
     .. stuff to use this connection..
  
  }
  </code></pre>
  
  <p>When I run  the application and opens multiple screen now Oracle show multiple session 
   for same Application</p>
  
  <p>Also I tried by changing code as</p>
  
  <pre><code>class Customer{
           private readonly Database _db;
            public Customer(){
                  _db = = (_userSettings.GetInstance().GetDatabase);
             }
  
         .. stuff to use this connection..
  
      }
  </code></pre>
  
  <p>*_userSettings is a singleton object*</p>
  
  <p>But same thing happens..?</p>
  
  <p><strong>What's going wrong?</strong></p>
  
  <p>Pls Help</p>
  
  <p>Thanks.</p>