Hello All... it's been awhile.
I don't have any code to show but just need help figuring out a thought.
We have built a responsive website that requires a login via PHP and uses $SESSION, $COOKIE, etc... We want to encourage people to add our icon to their home screen of their mobile device & use that icon to access the responsive page.
To prevent them from having to consistently log back in I have been dropping a unique $_COOKIE:
setcookie($cookieName, $tokenValue, time()+(86400 * 30), "/");
This works fine on Android and Chrome browsers but I seem to be running into an issue w/ iOS Safari. From what I have read iOS is now treating native / web based icons w/ different storage locations. When an iOS Safari user attempts to re-enter the site I am no longer able to retrieve that $_COOKIE and they're prompted to re-authenticate.
Has anyone ran into this issue and have a nice solution? I was thinking about adding another token the the URL and including that into the home screen icon but I wasn't sure if there was a better method.
I appreciate any insight.