src/wcmf/lib/service/impl/RPCClient.php
protected function getSessionId() {
    // check if we already have a session with the server
    $session = ObjectFactory::getInstance('session');
    $sids = $session->get(self::SIDS_SESSION_VARNAME);
    if (isset($sids[$this->serverCli])) {
      return $sids[$this->serverCli];
    }
    return null;
  }
protected function getSessionId() {
    // check if we already have a session with the server
    $session = ObjectFactory::getInstance('session');
    $sids = $session->get(self::SIDS_SESSION_VARNAME);
    if (isset($sids[$this->serverCli])) {
      return $sids[$this->serverCli];
    }
    return null;
  }
protected function getSessionId ( ) { // check if we already have a session with the server $ session = ObjectFactory :: getInstance ( 'session' ) ; $ sids = $ session -> get ( self :: SIDS_SESSION_VARNAME ) ; if ( isset ( $ sids [ $ this -> serverCli ] ) ) { return $ sids [ $ this -> serverCli ] ; } return null ; }
Get the session id for our server from the local session
@return The session id or null
Get the session id for our server from the local session