HTML5 Web APIs
Exercise: Web Storage
- Use the Web Storage API to save the authentication token in the chat client application.
- Add a checkbox to the login form to allow users to keep the token even when closing the browser.
- Delete the token when a user logs out.