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
Scott BScott B 

Problem with session ids crossing machine boundaries?

I have implemented a webservice has 3 methods on it, 2 of which have to do with the problem I am having.

In one method, I can login to sfdc via the API.  It returns me a session id and server url.

I then use that session id and server url to call a search method on the webservice.    The search method returns me a URL to the matching records in SFDC via the frontdoor.jsp?sid=blah link.

However, when I call this service from a remote machine, everything works except that when I try to use the link, it tells me that my session is invalid.  If I call the service locally, it works.  Does the session guid that I am getting from the API tie to the machine that made the request?

Please tell me this is not so.

Thank you.

SuperfellSuperfell
There's a setup option to lock sessionIds to the originating IP address (for security reasons), sounds like its turned on for your company.