How to Read Session Id from Cookie?

    sfdcsharepoint.com

    There is a simple trick to read session id from logged in instance of salesforce.

    n

    document.cookie.match(/(^|;\s*)sid=(.+?);/)[2];

    SessionId from Cookie

    #Cookie #SessionId

    Leave a Reply

    Your email address will not be published. Required fields are marked *