use Phalcon\Session\Adapter\Redis; $session = new Redis([ 'uniqueId' => 'my-private-app', 'host' => 'localhost', 'port' => 6379, 'auth' => 'foobared', 'persistent' => false, 'lifetime' => 3600, 'prefix' => 'my_' 'index' => 1, ]);
According to the sample code above, I need to specify an uniqueId for the session. but it made something a little terrible in my code for some reason. I looked over the data has been storaged in redis server and I did't understand why the uniqueId was needed. What should happen if I specify the uniqueId as an empty string ?