public function removesessionAction()
    {
        $success = false;
        $request = $this->getEvent()->getRequest();
        if ($request instanceof Request && $request->isPost()) {
            $containerName = $request->getPost('containerName', 'Default');
            $keysession = $request->getPost('keysession', '');

            $success = $this->sessionManager
                            ->sessionSetting($containerName, $keysession);
        }

        return new JsonModel([
            'success' => $success,
        ]);
    }
public function removesessionAction()
    {
        $success = false;
        $request = $this->getEvent()->getRequest();
        if ($request instanceof Request && $request->isPost()) {
            $containerName = $request->getPost('containerName', 'Default');
            $keysession = $request->getPost('keysession', '');

            $success = $this->sessionManager
                            ->sessionSetting($containerName, $keysession);
        }

        return new JsonModel([
            'success' => $success,
        ]);
    }
public function removesessionAction ( ) { $ success = false ; $ request = $ this -> getEvent ( ) -> getRequest ( ) ; if ( $ request instanceof Request && $ request -> isPost ( ) ) { $ containerName = $ request -> getPost ( 'containerName' , 'Default' ) ; $ keysession = $ request -> getPost ( 'keysession' , '' ) ; $ success = $ this -> sessionManager -> sessionSetting ( $ containerName , $ keysession ) ; } return new JsonModel ( [ 'success' => $ success , ] ) ; }
Remove Session by Container and its key.
Remove Session by Container and its key .