original_string: 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,
          ]);
      }
code: 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,
          ]);
      }
code_tokens: 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 , ] ) ; }
docstring: Remove Session by Container and its key.
docstring_tokens: Remove Session by Container and its key .