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
Mahesh Babu 3Mahesh Babu 3 

How to run code/ field update at the time of user session expiration

Hi All,

My requirement is, need to run the apex code (for field updation) before/after user session expiration, please advise me how to achieve this 
Info: here user is partner portal user

Thanks inadvance,
bob_buzzardbob_buzzard
You can't do this I'm afraid - there's no way to hook into the session expiry.