Questions tagged [session-id]

The tag has no usage guidance.

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
1k views

visualforcePage.getContent() : Maximum redirects (100) exceeded

We are having utility class where we are fetching session Id using visualforcePage.getContent() which we are further using in updating custom metadata records. we released our last version around ...
Nachiket Deshpande's user avatar
4 votes
0 answers
7k views

INVALID_SESSION_ID: ... Session not found, missing session hash:, Happening randomly

we are getting SOMETIMES following error messages when we call a custom SOAP WebService from Biztalk: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session. Session not ...
MarcoDev's user avatar
  • 181
2 votes
1 answer
503 views

Use SessionId as Cookie to authenticate in browser automation tests

I want to streamline some browser automation scripts and bypass logging into the sandbox via the standard login page (with login and password). Additionally, our automation scripts authenticate in the ...
Oleg Berezhnoy's user avatar
2 votes
0 answers
217 views

Provide from apex code to external service session id, which does not invalidate on logout

In our application when user clicks at specific button on the page http callout to external service is triggered from apex code on the server side. As one of the parameters we are passing session id ...
wesaw's user avatar
  • 3,020
2 votes
0 answers
238 views

Setting Session-Based Permissions via Connected App

Here's my use case: We have API-only users who authenticate using the OAuth 2 web server flow and access SF via a ConnectedApp . At the time of auth / refresh, we want to activate a session-based ...
alphaBytes's user avatar
1 vote
1 answer
248 views

C# Get SessionId returns affinity token empty ("")

When im doing the GET request to get the affinityToken, its come empty {"key":"b99d9a87-c7db-4f5a-a20d-9419bb2d0ad0!1549978665283!x6db6+hNaLzITCEq9EcjFLyKAjw=","id":"b99d9a87-c7db-4f5a-a20d-...
rmunoz's user avatar
  • 11
1 vote
0 answers
274 views

Hide session parameter in the URl

is there a way to hide session id parameter in the URL of an org? Here, an example: https://my-special-org.cs66.force.com/WebApp/secur/frontdoor.jsp?sid=00Z3O000000TVmy%...
DarkSkull's user avatar
  • 1,729
0 votes
0 answers
78 views

session id is not set in request header while requesting a domain url

I have url https://es-portal.gavi.org/sdgavi--uat/sdcs101/ in custom settings while redirecting to the url session id is not set in the cookie for that it always redirecting to login page..From ...
Leo's user avatar
  • 1
0 votes
0 answers
285 views

Why is my SESSION_ID invalid immediately after authenticating my JWT token?

So I am trying to get simplesalesforce working in a dev account for proof of concept (and, so far, I've been making a proper mess of it). I have FINALLY managed to successfully connect using a JWT ...
jesse's user avatar
  • 121
0 votes
0 answers
126 views

Session Id generation by third party to call apex

I’ve developed a webservice which basically allows third party to update field Processed_status__c on opportunity object. I’ve generated opportunityUpdate.wsdl file which I would share with them. ...
wink's user avatar
  • 17
0 votes
1 answer
556 views

Got the same sessionID during using SOAP API

Let's say I'm using POST with body example <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:partner.soap.sforce.com&...
pincet's user avatar
  • 869
0 votes
1 answer
191 views

Get Session Information in JIT Handler

Use Case: There is a Community that the User has to login to using SSO. A custom SAML JITHandler is configured for the same to assign a PermissionSet to the User. We now need to make this ...
Nevds's user avatar
  • 97
0 votes
0 answers
232 views

Outbound Message and Error Respose

I wanted to process the outbound message error response back in Salesforce. Based on my research, it is not possible as per the Ideas Community I tried to test outbound message using a PutsReq. I ...
user3810861's user avatar
0 votes
1 answer
645 views

Using Access Token as MetadataService sessionid

I am using MetadataService from LWC and since I don't get the session id in Lightning context, I am doing preauthorizing the org and getting the access token and storing it in a custom object. However,...
Ajay 's user avatar
  • 1,589
0 votes
0 answers
186 views

Discerning a Production SessionId cookie from a Sandbox one

I'm trying to explore the browser's cookies and identify the Production SessionId. The thing is when i retrieved all the cookies filtered by sid, which is how they're called, I recieved over 30 (...
Javier García Manzano's user avatar
-1 votes
1 answer
217 views

Metadata service Invalid Session Id on future method

I'm making a call to the Metadata service API. The Api call happens in future methods. I have tried both approaches of passing the Session Id as a parameter to the future method and also getting the ...
Saurabh's user avatar
  • 27