-Titanium 3.0 -iOS SDK 6.0 -Cloud 2.3.0 -Mac 10.8.2
Using Cloud 2.3.0, how long does a logged in user session last for...?
This is assuming I am storing storing and resetting the sessionid as required.
2 Answers
No answer, but I seem to have it working now by using the following.
//Set user on login exports.storeUser = function(_user) { Ti.App.Properties.setString('session_id', Cloud.sessionId); Ti.App.Properties.setString('user_id', _user.id); Ti.App.Properties.setString('username', _user.username); }; //To get var session_id = Ti.App.Properties.getString('session_id');
Right now ACS does not expire sessions. However, this could change in the future and be configurable by the developer.
Your Answer
Think you can help? Login to answer this question!