Jump to content

Recommended Posts

Posted
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)? 

Posted

You might want to check out Login Persistent, perhaps that could be of help here? I've no experience of iOS Web Applications and no idea how they work, so this might be completely unrelated too :)

  • Like 1
Posted

Thank you! Problem successfully resolved. That's what I was looking for.  :)

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
  • Recently Browsing   0 members

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