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

REST API concurrent session

I develop a kind of customer portail in Rails hosted on Heroku. I use SOAP Web service login() to authenticate user which have customer portal licences.

Then, I create cases with REST API calls. I am facing wird behaviours during case creation.


For example :

User A log in at 10:00 AM

User B log in at 10:15 AM


When B creates a case, case appears in Salesforce with A as creator (field createdby) even they are connected from different IP addresses.


Does someone already faced that kind of problem with concurrent access?


Thanks for your help?


At least one of the ruby frameworks for salesforce i looked at would only work with a single user, as it connects all the api calls to the first user authenticated. can you post some code / details of the tools you are using