[v3] localstorage seems not to persist via redirects #4431
Unanswered
burner-account
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Imagine the following redirect flow:
(Let's ignore the http://localhost part and related problems with dev/production build for now.)
Problem:
Debugging after step 1. shows the data successfully written to localstorage.
Debugging after step 3. show a blank, clean localstorage.
Thoughts:
Either the localstorage is not persistet or somehow webkit seems to think that the wails app from step 1 and the wails app from after step 3 are different and does not share the data.
The only thing that looked related (i have no webkit experience) was https://webkitgtk.org/reference/webkit2gtk/2.41.2/class.WebsiteDataManager.html but i found nothing interesting regarding this in the v3/internal/assetserver/webview/ directory.
Question:
Should/Does localstorage usually persist across such redirects in wails apps?
Thanks for your guidance.
Beta Was this translation helpful? Give feedback.
All reactions