You need to sign in to do that
Don't have an account?
LMoncher
Self Service Sessions vs. Regular Sessions
Greetings Dev Community,
My company is just starting to move over to Salesforce.com and My task is to integrate our existing Client Support site with Salesforce. To this end we're utilizing the API through C# and ASP.NET. Another learning curve for me but I'm getting there [our Dev team uses it so it was thought best to go down a route where we have internal support].
Apparently there is a difference between a Self Service Session and a Regular User Session, as once I got my code working correctly to validate my self service user I'm getting an exception "INVALID_SESSION_ID: Self Service User Sessions are not valid for use with the API".
So what is the difference between a Self Service User Session and a regular session? What can I do with a self service session? Am I limited to only validating the login and setting passwords?
Thanks in advance!
You may want to investigate the new customer portal infrastructure and users, customer portal users do have regular API access.
Thanks Simon, least I know I'm not slamming into walls now from my own stupidity. But no, that wont work for us either due to technical and integration issues.
Hi,
Even I'm trying to bind my external custom app with salesforce. Did you handle veridy whether the user has logged in Salesforce within your application and if so, how did you maintain the session?
Also, how did you handle the logout within your application, since Salesforce handles the logout and there is no web service call to handle the logout?
Thanks.
The rest of the session we do as a master account as the self-service session can't do anything.
Well,
I want to verify that the user is being redirected from the Salesforce site after logging in. This I do by using the sessionID which is in the querystring in the URL of our site which happens after logging into Salesforce and clicking on a link to redirect to our site. I want to ensure that nobody is able to access our site without first logging into Salesforce.
I would also like to know how to handle the log out since it is directly handled by Salesforce.
This is exactly what I am trying to achieve now. Can you please share some experience about this?
E.g. how does SessionID passed by the URL should get validated by Remote
Thanks..
DK
I am thinking if we are able to use session Id by using GETSESSIONID in salesforce, pass it to the remote, and remote will get this SESSION ID and find out who is this and if he is currently logged in to Salesforce. If he does, then allow authorised.
Any idea.?