jodosha/redis-store — Issue #119: Session key prefix no longer used?
Author: johnmichaelbradley
Created: 2012-02-24 16:37:52+00:00
State: open

After upgrading to redis-rails 3.2.1 it does not appear that either :key or :key_prefix are being applied to a session's key. For example, I created a session in my application, and its key was 745d47ff16ca6fd37cf4ec00abc7ec0e. Here is a generalization of my session_store initializer:

<..>::Application.config.session_store :redis_store,
:db => <...>,
:secure => true,
:http_only => true,
:key => '_session',
:key_prefix => '_session',
:expire_after => 30.minutes