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
Jaya Koti MuleJaya Koti Mule 

How can I make my Lightning component run in the background even when I logout from salesforce ? ex: I have a Timer developed in Lightning, Once the user starts the Timer it should run even if the user logout from salesforce. Can we do it ?

Ramakrishna Reddy GouniRamakrishna Reddy Gouni
1. firstly javascript run in browser.  you never hit from server. mostly i believe it not work. 
2. ofcourse it works. when you open the page values will be reset. we can manage it by using local storage but is also depend on browser not on cloud. 
3. we did one session time management pack it working fine for tab change browser minimize but now work for browser close.