netcarver Posted December 24, 2014 Posted December 24, 2014 A proof-of-concept session handler module for PW that uses Redis as the session database. You'll need access to a Redis server (IP address and Port) and you can configure the session prefix, the Redis DB that the sessions will be stored in and a time-to-live for the sessions. Please let me know if you run into any issues with this module. Here it is on Github. Here it is in the modules repository. 10
Andreas Augustin Posted April 27, 2017 Posted April 27, 2017 Hi! Thanks for this module! Is it also possible to use it with some Redis SaaS Services like Heroku? This Service uses some authentication on their Redis Server... E.g. redis://password:user@redis-instance.eu-west-1.compute.amazonaws.com:29029
Andreas Augustin Posted April 28, 2017 Posted April 28, 2017 I've made some changes to your module to use actual predis with authentication support. SessionHandlerRedis2.module 1
netcarver Posted April 28, 2017 Author Posted April 28, 2017 Hi @Andreas Augustin Thank you for the interest in this module - which is in need of an update. I've been contacted by a couple of other interested parties (see here), and I will be working on an update to this module soon. Personally, I've always preferred using an SSH tunnel to connect to remote redis server instances, but I will certainly take a look at what you've done regarding native authentication suppport. Best wishes, Steve
markus_blue_tomato Posted January 21, 2019 Posted January 21, 2019 Hi @netcarver I run into a very strange bug with SessionHandlerRedis which I documented as github issue: https://github.com/netcarver/PW-SessionHandlerRedis/issues/5
markus_blue_tomato Posted January 22, 2019 Posted January 22, 2019 okay this is not an bug in the module. this happens also with native redis php session store and also with memcached. I have filed a PW bug: https://github.com/processwire/processwire-issues/issues/798 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now