function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MJ09MJ09 

Number of concurrent logins for the same username

Is there a limit to the number of concurrent login sessions I have have that use the same username?

 

In other words, if I develop a Java application that uses the Web Services API to log into Salesforce, and I run 20 different instances of the application, all logging into Salesforce with the same username, is that a problem? Is there a limit to the number of concurrent sessions that can use the same username?

 

Thanks!

Best Answer chosen by Admin (Salesforce Developers) 

All Answers

Abhinav GuptaAbhinav Gupta

having different sessions in many instances is fine. I have done this in past on java too. But would suggest, if the login are for same user, try sharing them across java instances via some central cache, this might speed up response time by saving a login() call.

SuperfellSuperfell

There are no specific limits around the number of sessions, but there are more general api limits including total # of calls, and total # of concurrent calls, so you need to plan accordingly to not run into those.

MJ09MJ09

That's exactly what I was looking for. Thank you!