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

Session Management for Salesforce Tab Applications (e.g. s-controls, flex apps)

Some applications that live inside a salesforce tab do not "log in", but rather operate using the user's session. 

Does Salesforce provide a method to prevent session timeout for such applications?  e.g. some kind of keep alive call 
Or is the "Disable session timeout warning popup." supposed to address this issue?

This post is an extension of the following posts in that tab applications don't have the user's credentials

I'm not sure i follow exactly what scenario you're worried about (someone clicks on your tab, then does nothing for a few hours ?), but sessions expire on inactivity, so as long as you're making API calls, the session will be valid.
Hi Simon,
Thanks for the quick reply.

I thought that making an API call does not "restart" the session time out timer and you must explicitly call the login() function to prevent a session timeout....?

See the spring '08 release notes, API sessions now timeout on inactivity, not session length.