+ 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()