How to Generate Session Id ?

 


Syntax : https://<endpoint host>/secur/frontdoor.jsp?sid=<session id>

Here Endpoint host https://kattagopi007-dev-ed.my.salesforce.com

Here Session id :

Execute this debug in anonymous window  on Devconsole System.debug('**********'+UserInfo.getSessionId().SubString(15));

Session id should be like below  :

ARsAQKM9ofjaQSz9D686CBm.1ncfDA7u1ZzFiQ.Lc3eGLUlQ7oLqZJh8i6_TBaMtrRKP4hncJZ4G0iyFzsIGo6mugRrxAQ6y

Final Url should be like below :

https://kattagopi007-dev-ed.my.salesforce.com/secur/frontdoor.jsp?sid=ARsAQKM9ofjaQSz9D686CBm.1ncfDA7u1ZzFiQ.Lc3eGLUlQ7oLqZJh8i6_TBaMtrRKP4hncJZ4G0iyFzsIGo6mugRrxAQ6y

Post a Comment

0 Comments