ionic-team / ionic-team/cordova-plugin-ionic-webview

Cookies with maxAge Set Do Not Persist

Open
#87 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
Objective-C
Stars
493
Forks
410
PR merge metrics
No merged PRs in 30d

Description

I am attempting to use an httpOnly cookie with the maxAge property set in order to persist a session even when the app is restarted. I'm finding that the cookie disappears on app closure. Most posted fixes for this out there recommend the use of localStorage, which is definitely a bad idea for an auth cookie. I am not having this issue in Android, so I suspect it's WKWebView that's the issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.