Keep Session in iOS Web App (localStorage?)

Hi,

I have a web app (save page to home-screen on iOS) with front-end authentication build with kirby.

The problem is that everytime I login and switch to another app or to home screen and then move back to my web app, the entire page reloads and the session is replaced. I’m logged out.

I’ve found a discussion about this on stackoverflow but I can’t figure out how this is be done with kirby.

Is it possible to set the expire date of the cookie in kirby or save data to localStorage?

Thanks for your help.

1 Like

This is an interesting one -is it a problem for the panel sessions as well ? Then it could lead to a feature request for the panel too :smile:

If you have a direct link to the panel on your web app, it’s the same problem.
Because there is no url bar.