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

anyone have working C# login method?

I am wondering if anyone has a method they can share that will take the login name and password and log a user in to their salesforce account and keep their session tied to that user on the website only.  I have created my own but any time someone logs in to my web app every user using the web app is now the "last logged in user", which is obviously a problem.
I need a way to have any number of users log in to their salesforce accounts, perform some actions in my web app and create a case as themselves.
I have all of that working EXCEPT whoever logs in last is the person that everyone creates their cases as.  Any help is appreciated.
Are you storing the Salesforce binding in some sort of global variable that all your users are sharing?  What you would want to do is store it in a session-specific variable that each user uses depending on his session.