Tom Posted May 30, 2014 Share Posted May 30, 2014 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 More sharing options...
teppo Posted May 31, 2014 Share Posted May 31, 2014 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 1 Link to comment Share on other sites More sharing options...
Tom Posted May 31, 2014 Author Share Posted May 31, 2014 Thank you! Problem successfully resolved. That's what I was looking for. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now