Comments (3)
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.
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.
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)
- Fedwiki on Raspberry Pi2 HOT 8
- Stealth Persona Disabling in Farm Mode HOT 4
- How to run wiki as a daemon and keep it alive HOT 2
- Browserified Fedwiki HOT 5
- server doesn't understand scoped modules when looking for plugins HOT 4
- Could this be a server plugin?
- HTML Title marked incorrectly HOT 3
- Plugin Installation Issue HOT 2
- URLs with line-up with sites other than the origin not working HOT 3
- Wiki@Next : Claiming wiki HOT 1
- sanitize-caja changed namespace HOT 1
- Add routing configuration to server for Welcome Visitors Page HOT 6
- Console output in Farm Mode does not expose Request Hosts HOT 3
- Make sitemap generation protect against overlong synopsis HOT 2
- Item IDs absent from rendered HTML HOT 3
- bad or empty page json should be ignored HOT 3
- cookie sameSite: 'strict' causes failure of OAuth2 authentication HOT 2
- switch from coffeescript to javascript HOT 1
- How to specify admin in config.json with "security_type": "friends" HOT 6
- Only include wiki pages in index HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wiki-server.