Mobile Web-App User-management Issues

I keep users logged in to my site with sessions (PHP).

On mobile web-apps the browser stops communicating with the server as soon as the user returns to the homescreen so the session expires, even though the browser is still open in the background (on devices capable of multi-tasking).

How can I keep a user logged in, securely? Encrypted cookies?
Who is Participating?
Loganathan NatarajanConnect With a Mentor LAMP DeveloperCommented:
You can use both session & cookie and stored in db table. ref. secure login idea
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.