Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Viewing all articles
Browse latest Browse all 873

Rails 4 and Rails 5 share session in Redis

$
0
0

I have two apps. rails 4.2 and 5.1. Both are looking at the same Redis storage(session). I try to share session between them, but i stuck in the moment:4.2 version stores and get session in that way: "get" "fe15cb49282a66d684a70fbd5b80b395"5.1 version: "get" "2::e2dc7633569891230cd0bca57eca3035574042b594c3545e2d1a423852076869"

So the i can`t synchronize them. I suppose 5.1 encrypts session with Encrypted Rails Secrets(were introduced exactly in 5.1)just in case i have redis-rails-5.0.2 on 5.1 and redis-rails-4.0.0 on 4.2

Is there any way to share session correctly?


Viewing all articles
Browse latest Browse all 873

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>