-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancment: use window.name as fallback #25
Comments
That's an interesting idea. I didn't know
|
https://developer.mozilla.org/en-US/docs/Web/API/Window/name Wouldn't recommend it 😄 |
@kolben I read the article. Thanks. Why you wouldn't recommend it? What are the reasons? Thanks. |
|
@kolben Yep. That's pretty definitive. Closing this issue then. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, just wanted to discuss the Idea of using
window.name
as a fallback instead of a global variable.window.name
would have the advantage of being persistent for the whole javascript session (in particular for a page reload; but not across tabs) and is still available even if cookies are turned off.If you think that would be a better solution I would be happy to create a merge request.
Here is some more information about
window.name
:https://www.thomasfrank.se/sessionvars.html
The text was updated successfully, but these errors were encountered: