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
JimPJimP 

sid cookie

I am writing a composite app. I am currently using the sid cookie to pass the current session ID into a back-end service using HTTP in a home page component.

 

This works fine from most pages, but when I go to a VF page, even though the sid cookie is still there, it won't authenticate. When I print $API.Session_ID from the VF page, the value is completely different.

 

Can anyone tell me why the sid (API session ID) item is incorrectly set when clicking to a VF page? Is there anything else to be expected from this cookie?