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?

1 Answer 1


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, 2014 at 10:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .