Skip to content

Share a user session between Express 4.x and Primus 3.0.x using middleware

Notifications You must be signed in to change notification settings

djhojd/primus-express-session-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

primus-express-session-middleware

Share a user session between Express 4.x and Primus 3.0.x using middleware.

This is a fork of primus express middleware example, where they show us how to use a middleware to add the session data in the requests captured by Primus. That data is read-only and sometimes you need to make changes and save them using a spark. With this fork, inspired from express-session, you can!

Installation

npm i git://github.com/djhojd/primus-express-session-middleware.git

How to use

...

About

Share a user session between Express 4.x and Primus 3.0.x using middleware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published