Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Cookies be gone!
- some_data = {
- a: 'b',
- c: 123,
- d: 'this could be really long, sort of. Damn user-specific limits… And what about encoding?! Blürgh!'
- };
- sessionStorage.setItem('find_me', JSON.stringify(some_data));
- JSON.parse(sessionStorage.getItem('find_me'));
Add Comment
Please, Sign In to add comment