Closed chumakoff closed 4 years ago
Found similar issue here https://github.com/redis-store/redis-actionpack/issues/29
Using this gems versions (as in the above issue) fixed my problem too:
gem 'redis-actionpack', '5.1.0'
gem 'redis-rack', '2.0.6'
I am using this gem to store Rails application session in Redis. Now I am testing it in development mode on localhost:3000
Everything works fine except for the case when I set 'signed' option to
true
.In that case when I assign any value in the 'session', I can see in the browser that the corresponding cookie key is created successfully. However, when I try accessing the assigned session value on the next request, it returns
nil
.Also, when I assign a session value again, the cookie value in the browser changes (gets replaced with a new value). Tested in Chrome and Firefox
Session store configuration:
Environment: