+ Start a Discussion

Google AppEngine Integration Session

I am connecting my google appenigne app to salesforce (in python) and every so often performing a query to get account details from salesforce. I can login to salesforce via the api.


login_result = sforce.login(username, password)


and I can perform my query:


query_result = sforce.query(......)


But I am wondering how I check if my session is still valid? How do I know if it has expried? I noticed a isConnected method in the PtyhonClient but I don't really think that is it. What am I missing? 



Best Answer chosen by Admin (Salesforce Developers) 



Please refer following link, addressing same issue: