protected function setOptions(array $options)
	{
		$whitelist = array('save_path', 'name', 'save_handler', 'auto_start',
			'gc_probability', 'gc_divisor', 'gc_maxlifetime', 'serialize_handler', 
			'cookie_lifetime', 'cookie_path', 'cookie_domain', 'cookie_secure',
			'cookie_httponly', 'use_cookies', 'use_only_cookies', 'referer_check',
			'entropy_file', 'entropy_length', 'cache_limiter', 'cache_expire',
			'use_trans_sid ', 'hash_function', 'hash_bits_per_character');

		foreach ($options as $key => $value)
		{
			if (\in_array($key, $whitelist))
			{
				\ini_set("session.{$key}", $value);
			}
		}

		if (\array_key_exists('url_rewriter.tags', $options))
		{
			\ini_set('url_rewriter.tags', $options['url_rewriter.tags']);
		}
	}