snc/SncRedisBundle — Issue #36: Cookie_lifetime must be configured
Author: Divi
Created: 2012-03-02 11:01:25+00:00
State: open

Hello,

I saw another bug with the session_cookie fix : when the option cookie_lifetime is not configured in config.yml, the default configuration is not setted in the $options array like previous version. An undefined index error appears here : https://github.com/snc/SncRedisBundle/blob/master/SessionStorage/RedisSessionStorage.php#L81

Maybe you can add a condition to check if the option exists.

Sorry, i hadn't noticed this bug before you commit my next issue.