+ Start a Discussion
devNut!devNut! 

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

Hello,
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
http://community.salesforce.com/sforce/board/message?board.id=general_development&message.id=16004
http://community.salesforce.com/sforce/board/message?board.id=general_development&message.id=940&query.id=65872


Thanks!
SuperfellSuperfell
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.
devNut!devNut!
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....?


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