When I save my Webapp (with <meta name="apple-mobile-web-app-capable" content="yes">) to Home Screen every time I reload it it opens Login Screen (extended-users).
In another project where I implemented User Login myself via Cookies I worked around with:
But now using Couch Login-Feature with extended users this does not work.
Anyone an Idea to get this working so that a user stays logged when reopening a Home Screen Webapp?
Regards,
Olliwalli
In another project where I implemented User Login myself via Cookies I worked around with:
- Code: Select all
<cms:php>
// 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);
</cms:php>
But now using Couch Login-Feature with extended users this does not work.
Anyone an Idea to get this working so that a user stays logged when reopening a Home Screen Webapp?
Regards,
Olliwalli