title: Salesforce API 10 request limit
body: <p>I read somewhere that the Salesforce API has a 10 request limit. If we write code to integrate with Salesforce: 
  1. What is the risk of this limit
  2. How can we write code to negate this risk? </p>
  
  <p>My real concern is that I don't want to build our customer this great standalone website that integrates with Salesforce only to have user 11 and 12 kicked out to wait until requests 1-10 are complete? </p>
  
  <p>Edit: 
  Some more details on the specifics of the limitation can be found at <a href="http://www.salesforce.com/us/developer/docs/api/Content/implementation_considerations.htm" rel="nofollow">http://www.salesforce.com/us/developer/docs/api/Content/implementation_considerations.htm</a>. Look at the section titled limits.</p>
  
  <p>"<strong><em>Limits</strong>
  There is a limit on the number of queries that a user can execute concurrently. A user can have up to 10 query cursors open at a time. If 10 QueryLocator cursors are open when a client application, logged in as the same user, attempts to open a new one, then the oldest of the 10 cursors is released. This results in an error in the client application.
  Multiple client applications can log in using the same username argument. However, this increases your risk of getting errors due to query limits.
  If multiple client applications are logged in using the same user, they all share the same session. If one of the client applications calls logout(), it invalidates the session for all the client applications. Using a different user for each client application makes it easier to avoid these limits.</em>*"</p>