Imagine this scenario:
$session->setOptions(array('save_handler' => 'redis');
$session->setHandler(new RedisStorageExtension);
$session->start(); //overrides my custom handler with native 'redis'
Nette/Session overrides custom handler on Session::start();
In my situation I cannot leave save_handler with default files value because my handler extends Redis handler, not the default one.
Setting handler after session start could help but session start is lazy and we don't know when it happens.
Edit: Documentation about session handler extensions http://php.net/manual/en/class.sessionhandler.php
Imagine this scenario:
Nette/Session overrides custom handler on Session::start();
In my situation I cannot leave
save_handlerwith defaultfilesvalue because my handler extends Redis handler, not the default one.Setting handler after session start could help but session start is lazy and we don't know when it happens.
Edit: Documentation about session handler extensions http://php.net/manual/en/class.sessionhandler.php