Dear Appery,
description: I set me web app icon to the iPhone home screen by "Add to Home Screen" from mobile safari for getting the "Full Screen" capable effect.
problem: whenever I send my web app to the background (moving to another app) and then returning to my app it reloads and force me to re login instead of staying in its last page just like in safari.
solution: i found a "hack" that set the session cookie
needed help: where in Appery i use that code:
code
// Start or resume session
session_start();
// Extend cookie life time by an amount of your liking
$cookieLifetime = 365 * 24 * 60 * 60; // A year in seconds
setcookie(session_name(),session_id(),time()+$cookieLifetime);
/code
Thank you all in advance!
Best,
R.