-
-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels