You need to sign in to do that
Don't have an account?
Session expiration
The documentation states the following:
"Client applications do not need to explicitly log out to end the session. Sessions expire automatically after a period of inactivity, which can be configured (in the Setup section in the salesforce.com user interface) for your organization to be 30, 60, or 120 minute intervals. If you have a client application that periodically polls the sforce Web service at an interval longer than the configured time-out, then that application should log in each time to obtain a new session. "
I'm trying to find where under Setup this is configured. Under Administration Setup/Security Controls/Session Settings I can change the "session timeout" up to 4 hours. Does this affect the sForce Session ID expiration or does this only apply to salesforce.com UI sessions? I'm confused because the setting values are 30 min, 1 hour, 2 hours and 4 hours and the documentation says "30, 60, or 120 minute intervals", which leads me to believe I'm in the wrong place and the sForce sessions are configured elsewhere. Please advise. Thanks.
So, if I set my my session timeout Under Administration Setup/Security Controls/Session Settings to 4 hours this means my sForce session id will be valid for 4 hours?
Hi gh,
No, an api obtained session id is good for 2 hours, after which you will get an invalid session id fault.
Igor
The 2 hour limit cannot be changed currently.
Is this a configurable value, or is this fixed for API type access? Is it that the timeout in the administration settings only apply to Web Access (non-api acces)?
This is detailed in the 5.0 release notes
http://www.sforce.com/resources/tn-13.jsp
Message Edited by SimonF on 05-17-2005 08:38 AM
I want to retrive that value and renew my connection automatically just before the delay expires.
Thank you
nbordeleau@coveo.com