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
Adam1Adam1 

get session id from custom controller

I need to get the session id from my custom controller... this is the same value that can be had by using the merge field {!API.Session_ID} from a button, link, etc. Same thing for {!API.Partner_Server_URL_80}.
 
Thanks!
dchasmandchasman
UserInfo.getSessionId()