You need to sign in to do that
Don't have an account?
Covenant
session_id is expiring, how is "activity" determined?
Hello,
I know that a session_id isn't supposed to expire unless there is no activity for a two hour timeframe.
I wrote a script to access SalesForce.com to add a huge number of attachments. Every two hours, like clockwork, the script would fail with an "invalid session_id".
I've since changed the script to obtain a new session for every attachment and things are working fine.
I don't have a big problem, but I'd like to know how "activity" is defined or detected on your end. I'm using Python XMLRPC, which is identified as "other sforce API" by Salesforce.
Thanks, in advance, and Best Regards,
Covenant
I know that a session_id isn't supposed to expire unless there is no activity for a two hour timeframe.
I wrote a script to access SalesForce.com to add a huge number of attachments. Every two hours, like clockwork, the script would fail with an "invalid session_id".
I've since changed the script to obtain a new session for every attachment and things are working fine.
I don't have a big problem, but I'd like to know how "activity" is defined or detected on your end. I'm using Python XMLRPC, which is identified as "other sforce API" by Salesforce.
Thanks, in advance, and Best Regards,
Covenant
Thanks,