Git Product home page Git Product logo

Comments (3)

rjz avatar rjz commented on July 20, 2024

Very true. It shouldn't be a requirement for using the library, but it's much easier to demonstrate retrieving session data from an accessible store rather than process memory.

If you're having specific difficulties, it would be great to get a little more detail for a diagnosis and fix. Otherwise I'd love to merge some, ah, clarification around the readme!

from supertest-session.

leobenkel avatar leobenkel commented on July 20, 2024

I am confused about the "Accessing session data" as well. Would be nice to have a more detailed tutorial !

from supertest-session.

rjz avatar rjz commented on July 20, 2024

Thanks for the nudge, @wonay!

As session storage is outside the scope of this library, I think it may be best to simply drop that note from the README (See #25). The goal of the (rather confusing) original example was to show how to access cookies from supertest-session's cookie jar for reuse against a backend session store. But it seems enough to show how to get at them, and leave it up to individual applications to decide if (and how) take to it from there.

That said, store-specific tutorials sound like a fantastic idea! If anyone is working with a specific store and would be willing to link up (or PR a link to) an example, it might save others some setup time (and confusion).

from supertest-session.

Related Issues (20)

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.