Giter Site home page Giter Site logo

non-local session support about wiki-server HOT 3 CLOSED

fedwiki avatar fedwiki commented on September 15, 2024
non-local session support

from wiki-server.

Comments (3)

pmuellr avatar pmuellr commented on September 15, 2024

Found a reference to "cookie sessions", where the session data is stored in the cookie, as opposed to some store. Downside is that you can't store that much data in there - doesn't seem to be a problem with wiki. Upside is you don't need a store - the cookie IS the store.

This seems like potentially useful node package to handle these:

from wiki-server.

nrn avatar nrn commented on September 15, 2024

So far we've only had many wikis running on one server, not one wiki running on many servers, so we haven't really felt the pressure to figure out a good solution. The db was a non starter, with the overhead it adds to setup. I agree that now that we have support for pages in dbs that it would work to have a session store in the same db, but we are not well setup to do that.

The mozilla cookie session store looks to be quite slick, and should be a drop in replacement. I can't see any disadvantages for our limited usecase, unless anyone else can I'd love to see a pull request for it.

from wiki-server.

paul90 avatar paul90 commented on September 15, 2024

Switching to using client-sessions as part of the Express 4 migration. Currently in the paul90/0.3.x branch as 3662745

from wiki-server.

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.