Skip to content
Snippets Groups Projects
Commit ff1086c4 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Remove references to long-deprecated `session.handler` config-setting

parent 825600bc
No related branches found
No related tags found
No related merge requests found
......@@ -1054,8 +1054,6 @@ $config = array(
* - 'redis': Key-value datastore, based on redis.
*
* The default datastore is 'phpsession'.
*
* (This option replaces the old 'session.handler'-option.)
*/
'store.type' => 'phpsession',
......
......@@ -26,7 +26,7 @@ The default configuration on Debian is for the memcache server to be accessible
Once the memcache server is configured, you can configure simplesamlphp to use it to store sessions.
You can do this by setting the `session.handler` option in `config.php` to `memcache`.
You can do this by setting the `store.type` option in `config.php` to `memcache`.
If you are running memcache on a different server than the IdP, you must also change the `memcache_store.servers` option in `config.php`.
......
......@@ -123,7 +123,7 @@ abstract class SessionHandler
* Initialize the session handler.
*
* This function creates an instance of the session handler which is
* selected in the 'session.handler' configuration directive. If no
* selected in the 'store.type' configuration directive. If no
* session handler is selected, then we will fall back to the default
* PHP session handler.
*/
......
......@@ -36,9 +36,6 @@ abstract class Store
$config = Configuration::getInstance();
$storeType = $config->getString('store.type', null);
if ($storeType === null) {
$storeType = $config->getString('session.handler', 'phpsession');
}
switch ($storeType) {
case 'phpsession':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment