Skip to content
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

Option (and data-attribute) to use sessionStorage #115

Open
soullivaneuh opened this issue Feb 27, 2018 · 2 comments
Open

Option (and data-attribute) to use sessionStorage #115

soullivaneuh opened this issue Feb 27, 2018 · 2 comments

Comments

@soullivaneuh
Copy link
Contributor

https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage

In a nutshell, the sessionStorage is the same as the localStorage but limited to the session.

It looks more appropriate for form under secure application with user login.

Can an option be added to use sessionStorage instead of localStorage?

@guillaumepotier
Copy link
Owner

Sure, we worked on a project named basil that allows us to abstract the underlying storage and have an unified API to store things. It might be interesting to couple that project with this one to allow where we store the info.

Feel free submit a PR :)

Best

@soullivaneuh
Copy link
Contributor Author

@guillaumepotier That could be a nice idea, however I don't have enough time to work on this right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants