sessionstorage Questions

4

Solved

I'm trying to figure out what the setItem method from sessionStorage returns. As far as I could get, the following code returns undefined: var set = sessionStorage.setItem('foo', 'bar'); console.l...
Tenebrae asked 31/1, 2014 at 13:57

5

Solved

On a tab with url http://foo.com/ I set a sessionStorage item thus- sessionStorage.bar="hello"; I then open a new window on any path on the same domain - window.open("http://foo.com/any/path");...
Lavatory asked 2/1, 2014 at 9:19

5

Solved

Lets say my sessionStorage contains three objects who's keys are foo, foobar, and baz. Is there a way that I can call .removeItem or somehow delete all items in sessionStorage who's keys match foo?...
Coated asked 7/11, 2013 at 19:20

1

The behaviour of sessionStorage has been documented as it clears when the tab closes. However, in my practice, IE 11(Edge) in my client company clears sessionStorage when user navigates away within...

1

Solved

I am wondering how to access the native sessionStorage scope from within my custom methods. My example: https://jsfiddle.net/3mc7ao7j/1/ At line 3 I would like to be able to proxy through to my ...
Mcpherson asked 21/9, 2017 at 8:52

1

Solved

I am making a website where the user can select options on an item such as size or colour. However, I am using Backbone and when the model is updated the view is re-rendered and options are r...
Extractive asked 17/7, 2017 at 16:12

2

I have some check boxes in one of my webpages, and this page has to refresh every 1 minute for some data consistency issues. I am using window.sessionStoage to persist the check boxes that have be...
Archimage asked 29/12, 2016 at 12:34

3

Solved

I can successfully bind an event for a change to localStorage (using jquery): $(window).bind('storage', function(e) { alert('change'); }); localStorage.setItem('someItem', 'someValue'); If I u...
Allochthonous asked 21/4, 2012 at 15:3

5

Solved

I use the session storage to set a key that can take numeric values or null. I noticed that the field is stored as a string no matter what I put in. Is there a nice way to convert back my stored va...
Payment asked 10/3, 2016 at 21:28

2

When a tab is duplicated in Chrome, is sessionStorage also duplicated? I noticed that in IE it is not.
Maniemanifest asked 30/1, 2014 at 17:43

4

Solved

Where are sessionStorage and localStorage stored on the client's computer? Could you tell me the path?
Charybdis asked 26/12, 2011 at 8:20

1

Solved

I am trying to retrieve my search and filter data from sessionStorage when the page refreshes. sessionStorage.restorestate returns undefined, does anyone know why? app.run(function($rootScope) { ...
Ponderable asked 21/8, 2014 at 13:53

1

Solved

I am currently developing a PhoneGap application and am using sessionStorage rather than localStorage because we are facing some problems with localStorage. Are there any downsides to using sessio...
Yangyangtze asked 7/9, 2013 at 7:5

1

Solved

A few questions regard HTML5's sessionStorage: Does the 5MB limit on localStorage include sessionStorage? (ie. is it really a 5MB limit on the WebStorage API) If not does sessionStorage have a ma...
Fund asked 4/8, 2012 at 6:25

1

Solved

in firefox 9, when i do: var msg = sessionStorage.getItem("message"); The browser ask with the error: "Operation is not supported", firefox not implement the webStorage of html5? or this case is ...
Windbag asked 19/1, 2012 at 10:21

1

I've stored some strings in web storage (session and/or local), and am wondering if it is possible to check for such stored strings on page load or init on the server-side (asp.net c# in my case).....
Michey asked 7/5, 2012 at 20:38

2

Solved

I read some documentation on sessionStorage and localStorage, but I don't understand what the scope is: the domain, a specific page? For example, if I have the following pages: http://example.com...
Aerobe asked 16/3, 2012 at 18:8
1

© 2022 - 2024 — McMap. All rights reserved.