Skip to content

sails101/redis-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How do I configure Redis as my session store?

To test this out, lift this app and visit http://localhost:1337/session/increment.

If you refresh a few times, you'll see the counter increase. Then, if you kill the server and start it up again, you'll see that the counter still has the same value (b/c your session is being persisted in Redis).

TODO: expand this readme

See config/session.js

About

How do I configure Redis as my session store?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published