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

Different users can use the application with session storage #3

Open
jisie opened this issue Jan 8, 2019 · 2 comments
Open

Different users can use the application with session storage #3

jisie opened this issue Jan 8, 2019 · 2 comments
Assignees

Comments

@jisie
Copy link

jisie commented Jan 8, 2019

Story

Using session storage, the team should be able to mimic multiple users using the site concurrently.

Acceptance Criteria

Given the team wants to have multiple users active in the application concurrently
When a new tab is opened
And the user activates a different account
Then then the current account should be set as active in session storage

@zwcrawford
Copy link
Contributor

Syntax for sessionStorage:

// Save data to sessionStorage
sessionStorage.setItem('key', 'value');

// Get saved data from sessionStorage
let data = sessionStorage.getItem('key');

// Remove saved data from sessionStorage
sessionStorage.removeItem('key');

// Remove all saved data from sessionStorage
sessionStorage.clear();

@zwcrawford
Copy link
Contributor

Zac is taking this....for 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