Jump to content

Permanent login for an iOS Web App


Tom
 Share

Recommended Posts

I want to use ProcessWire as a single-page webapp, which is then mainly delivered as iOS Web Application (also known as "Save to Home Screen"). As authentication I use the existing resources, which means that you are working with sessions. The problem is that once you get the app closed the cookie that is set on sessions will be completely deleted. This means that the user must re-authenticate again every time he closes the app. 

My question would be how to implement a permanent solution for this for ProcessWire? Should i use an auth token for this case which is passed via an get parameter? Or can i change the expiring time for the main session (i changed $config->sessionExpireSeconds but it seems to affect only the challenge cookie)? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...