There is a simple trick to read session id from logged in instance of salesforce.
n
document.cookie.match(/(^|;\s*)sid=(.+?);/)[2];
#Cookie #SessionId
There is a simple trick to read session id from logged in instance of salesforce.
n
document.cookie.match(/(^|;\s*)sid=(.+?);/)[2];
#Cookie #SessionId