Skip to content

A neat little prototype that helps sync php session files with entries in redis

Notifications You must be signed in to change notification settings

reafle/file-session-to-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uses paulmillr/chokidar to watch php session files and upon detecting changes it

Usage is very crude for this prototype:

  • clone
  • edit main.js and configure:
    • Connection to redis
    • Path where current php sessions are stored (by default /var/lib/php/session)
    • What prefix to use in redis
  • run like node main.js

About

A neat little prototype that helps sync php session files with entries in redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published