+ Start a Discussion
Priyadarshi NayakPriyadarshi Nayak 

Not finding session id in workbench

Below are the steps followed. But could not get session id. Any help
Module - https://trailhead.salesforce.com/modules/apex_integration_services/units/apex_integration_webservices

Login - https://workbench.developerforce.com/login.php
Select - Info/Session Information/Connection
no session id
Marwen BlelMarwen Blel
Sames here, looks like this is no longer available in workbench. run this anonymous code in your console to get the sessin id  :
System.debug(UserInfo.getSessionId());


 
Sachin Dubey 10Sachin Dubey 10

Try this in a VF page:
<apex:page >

    {! getSessionID()}
    
</apex:page>