How to Limit Session Created in WCF Service

Throttling in WCF provides some properties that we can use to limit how many instances or sessions are created at the application level. 
There are three settings in the config.
maxConcurrentCalls - Limits the total number of calls that can currently be in progress across all service instances. The default is 16.
maxConcurrentInstances - The number of InstanceContext objects that execute at one time across a ServiceHost. 
maxConcurrentSessions - A positive integer that limits the number of sessions a ServiceHost object can accept. The default is 10
We can manage these using Web.Config setting.
  1. <system.serviceModel>  
  2.       <services >  
  3.  //Services Settings  
  4.   </services>  
  5.       <behaviors>  
  6.           <serviceBehaviors>  
  7.               <behavior name="ServiceBehavior">  
  8.                   <serviceMetadata httpGetEnabled="true"/>  
  9.                   <serviceDebug includeExceptionDetailInFaults="true "/>  
  10.                   <serviceThrottling maxConcurrentCalls="500"  maxConcurrentInstances ="100" maxConcurrentSessions ="200"/>                 
  11.       </behavior>  
  12.     </serviceBehaviors>  
  13.   </behaviors>  
  14. </system.serviceModel>