I have an HTML5 page setup. When a user saves the page to their homescreen (i.e. to them, "install the app"), if they minimize (i.e. don't close) their browser then click the "app" again, it starts a new Salesforce session rather than retaining the one in the running browser.

Is there a way to keep the app from starting up a new session, or is this a limitation of Safari Mobile?


This is standard behaviour for mobile safari - the only way for the app to retain any information is through local storage, although this isn't secure and I doubt you'd be able to retain your Salesforce session :


I've switched most of our HTML5 applications over to Salesforce1 as this uses oauth to refresh the user session without requiring the user to enter their credentials again.

  • Thanks Bob; this is what I suspected. I was looking at moving over to Salesforce1 yesterday, looks like we'll move down this path. Apr 1 '14 at 10:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.