I am having a strange problem while trying to deploy a Safariweb app on the iPad 2. My application contains a few tabs which load different pages; so far, nothing unusual. I would like to be able to let the users add a link to the app to the Home Screen and run it in chromeless mode. The problem is that the auth session (a cookie) is not persisted between page loads. But this only happens if I start the app from the icon that I saved on the Home Screen. Run directly in Safari the app works without problems.

I found a workaround which is to load the home page of the web app with a # at the end of the URL (domain_name/#). Saving the link after this makes the app work perfectly.

I am having a strange problem while trying to deploy a Safariweb app on the iPad 2. My application contains a few tabs which load different pages; so far, nothing unusual. I would like to be able to let the users add a link to the app to the Home Screen and run it in chromeless mode. The problem is that the auth session (a cookie) is not persisted between page loads. But this only happens if I start the app from the icon that I saved on the Home Screen. Run directly in Safari the app works without problems.

I found a workaround which is to load the home page of the web app with a # at the end of the URL (domain_name/#). Saving the link after this makes the app work perfectly.

Did anyone see something similar? Any tips greatly appreciated.

Thanks,
Marius

Click to expand...

I have the same pb for a web app that I'm developing. I'm thinking about using local storage instead of cookie.
Better idea welcome

Useful Searches

About iPadForums.net

iPadForums.net is a community dedicated to the Apple iPad. We discuss various topics including iPad Help, iPad Reviews, iPad Apps, iPad Accessories (such as iPad Keyboards, iPad Cases, iPad Covers), iPad Games and more.

iPadForums.net is not affiliated with Apple. We are an enthusiast site dedicated to everything Apple iPad (iPad 1 and iPad 2)