GithubHelp home page GithubHelp logo

sessionstorage's People

Watchers

 avatar

sessionstorage's Issues

IE8 Member not found

What steps will reproduce the problem?
1. Try to run latest, trunk version of SessionStorage script in IE8 browser

What is the expected output? What do you see instead?
I get error "Member not found" at line 539. "sessionStorage" function is 
shadowing browser's sessionStorage object, so setItem in below code will always 
trow exception:

    if(typeof sessionStorage !== "undefined") {
        try {
            random = '@@' + Math.random();
            sessionStorage.setItem(random, random);
            sessionStorage.removeItem(random);
            return;
        } catch(o_O) {
            // iOS private browsing
            // keep going on
        }
    }

What version of the product are you using? On what operating system?
trunk

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 16 Dec 2013 at 2:52

RC4 (or any stream cipher) is not safe for sessionStorage

Because stream cipher do not support authentication, so the hacker could 
replace the known plaintext (it's very possible in sessionStorage case because 
the source code of the web page is public) without known key.

So I think we'd better use lightweight block cipher like XXTEA.

Original issue reported on code.google.com by [email protected] on 5 Aug 2014 at 7:15

cookie is not for all pages of the domain

I was playing the whole time with your sessionStorage implementation. On
your demo page is all good, but I trying to us it in the real environment
and I think its broken :)

If I trying to do setItem in any browser without native support of
sessionStorage, the data is available only on the same page. 

If you need help to reproduce it, just write me a mail, I will see how I
can let you to see it on our intranet testserver.

Original issue reported on code.google.com by oleg008 on 24 Jan 2010 at 5:19

Uncaught SecurityError: Blocked a frame

What steps will reproduce the problem?
1. embed a page that uses sessionstorage.js inside an iframe of a Host page
2. open it up in latest chrome browser
3. Check your console

What is the expected output? What do you see instead?
You will see
Uncaught SecurityError: Blocked a frame with origin "inside page url" from 
accessing a frame with origin "Host page url". Protocols, domains, and ports 
must match. 

What version of the product are you using? On what operating system?
sessionstorage 1.4 downloaded from:
https://code.google.com/p/sessionstorage/downloads/detail?name=sessionstorage.mi
n.js

Please provide any additional information below.
The cause is at 
    // the prefix to use to enable multiple domains
    domain = top.document.domain,
You can't call top.document.domain unless the page where sessionstorage is on 
and the host page share the same document.domain. Anytime you call top, you 
will see a cross-domain error.

Original issue reported on code.google.com by [email protected] on 3 Oct 2014 at 7:10

sessionStorage variable gets deleted while switching tabs.

I am storing session in sessionStorage
Only at the time of logout response I am removing that from storage
But after login if I switch tab and open another page of same project then 
session was removed automatically and i have to login again.

Please help..



Original issue reported on code.google.com by [email protected] on 29 Jan 2014 at 12:21

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.