private function registerScaraMasterSessionToken()
    {
        $s = SessionInitializer::init();
        $h = new OpenSslHasher();

        if (!$s->has('SCARA_SESSION_TOKEN')) {
            $token = substr($h->tokenize($h->random_string(16), time()), 0, 16);
            $session = $h->tokenize($token, hash('sha256', $_SERVER['HTTP_USER_AGENT']));
            $s->set('SCARA_SESSION_TOKEN', $token);
            $s->set('SCARA_SESSION', $session);
        }
    }
private function registerScaraMasterSessionToken()
    {
        $s = SessionInitializer::init();
        $h = new OpenSslHasher();

        if (!$s->has('SCARA_SESSION_TOKEN')) {
            $token = substr($h->tokenize($h->random_string(16), time()), 0, 16);
            $session = $h->tokenize($token, hash('sha256', $_SERVER['HTTP_USER_AGENT']));
            $s->set('SCARA_SESSION_TOKEN', $token);
            $s->set('SCARA_SESSION', $session);
        }
    }
private function registerScaraMasterSessionToken ( ) { $ s = SessionInitializer :: init ( ) ; $ h = new OpenSslHasher ( ) ; if ( ! $ s -> has ( 'SCARA_SESSION_TOKEN' ) ) { $ token = substr ( $ h -> tokenize ( $ h -> random_string ( 16 ) , time ( ) ) , 0 , 16 ) ; $ session = $ h -> tokenize ( $ token , hash ( 'sha256' , $ _SERVER [ 'HTTP_USER_AGENT' ] ) ) ; $ s -> set ( 'SCARA_SESSION_TOKEN' , $ token ) ; $ s -> set ( 'SCARA_SESSION' , $ session ) ; } }
Registers Scara's master session.

@return void
Registers Scara s master session .