Using iOS specific metatags I enabled webapp mode on a WP site.
It works nice, but I’m facing a problem:
Switching between apps breaks the WP session. The webapp loads the splash image again and shows the specified index page instead of the page visited and left earlier and the logged in state is reseted as well.
I’ve found an answer to a similar question here, though it’s not WP specific.
Is there a WP way to keep the webapp alive while it is in the background?
Extending WP session with auth_cookie_expiration
filter could solve the problem?
To stay logged in WP based webapps on iOS devices you simply have to log in and click the remember me option on your webapp wp-login.php page in Mobile Safari at least once.