Calling a function whenever express-session access redis-store

42 views
Skip to first unread message

D

unread,
Nov 11, 2016, 12:18:30 PM11/11/16
to Express
Just cross posting this from stackoverflow

I am using express session backed by redis-store. I want to call a function whenever session accesses redis store (like, get, set, delete).

I have gone through the documentation but I have not found any option in redis-store or express-session which will allow me to pass a function that will get called whenever session accesses storage. Can some one let me know how can I acheive this? 

Version:-

Reply all
Reply to author
Forward
0 new messages