function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFRajSFRaj 

SessionId validity time

Hi All,

 

What is the validity time of sessionId?

kiranmutturukiranmutturu

Client applications do not need to explicitly log out to end a session. Sessions expire automatically after a predetermined length of inactivity, which can be configured in Salesforce by clicking Your Name | Setup | Security Controls. The default is 120 minutes (two hours). If you make an API call, the inactivity timer is reset to zero.

SFRajSFRaj

Yes. But the sessionid is getting refreshed ~30 minutes. I want to save the sessionid and query the data using the sessionid.