Push key value data in $_SESSION variable.

@param  string  $key
@param  string  $value
@param  boolean $is_array
@return void
496976
public static function set($key, $value, $is_array = false)
    {
        if ($is_array)
        {
            $_SESSION[$key][] = $value;
        }
        else
        {
            $_SESSION[$key] = $value;
        }
    }
576584
static public function set( $key, $value )
    {
        if ( self::$hasStarted === false )
        {
            self::start();
        }
        $session =& self::sessionArray();
        $session[$key] = $value;

        return true;
    }
657560
public static function set_sticky($key, $value) {
		if (self::$sticky === null) {
			self::$sticky = new \Skeleton\Core\Web\Session\Sticky();
		}

		self::$sticky->$key = $value;
	}
269092
public function write($key, $value)
    {
        if($this->_use_PHP_session) {
            $_SESSION[$key] = $value;
        } else if($this->_use_cache_facade) {
            //Write the VALUE to CACHE
        }

        return true;
    }
1145444
public function put($key, $value)
    {
        return $this->session->put($this->getSessionKey($key), $value);
    }
379165
protected function _setCached( $key, $value )
	{
		$session = $this->_getContext()->getSession();

		$cached = $session->get( 'arcavias/basket/cache', array() ) + array( $key => true );
		$session->set( 'arcavias/basket/cache', $cached );
		$session->set( $key, $value );
	}
1369262
public static function addValue(array &$arr, $key, $value)
    {
        if (isset($arr[$key])) {
            if (!is_array($arr[$key])) {
                $arr[$key] = [$arr[$key]];
            }
            $arr[$key][] = $value;
        }
        else {
            $arr[$key] = $value;
        }
    }
1007012
function set($key,$val):bool
    {
        if($this->isStart){
            $this->data[$key] = $val;
            return true;
        }else{
            trigger_error('session is close now,please start session');
            return false;
        }
    }
232671
public function assertSessionHas($key, $value = null)
    {
        if (is_array($key)) {
            return $this->assertSessionHasAll($key);
        }

        if (is_null($value)) {
            PHPUnit::assertTrue($this->app['session.store']->has($key), "Session missing key: $key");
        } else {
            PHPUnit::assertEquals($value, $this->app['session.store']->get($key));
        }
    }
1351370
public function add($key, $value = null) : void
    {
        if (is_array($key)) {
            $this->storage  = array_replace_recursive($this->storage, $key);
        } elseif ($value !== null) {
            $key = $this->getCompositeKey($key);
            ArrayHelper::set($this->storage, $key, $value);
        }
    }
567672
public static function set(array &$array, $key, $value)
    {
        $keys = explode('.', $key);
        foreach($keys as $key) {
            if(!isset($array[$key])) {
                $array[$key] = [];
            }
            $array = &$array[$key];
        }

        $array = $value;
    }
792028
public function setPost($key, $value = null) {
        if (is_array($key)) {
            $this->POST = $key;
        } else {
            $this->POST[$key] = $value;
        }
        return $this;
    }
934175
public static function add($key, $value)
    {
        if (!isset(self::$config[$key]) || !is_array(self::$config[$key])) {
            return false;
        }
        array_push(self::$config[$key], $value);
        return true;
    }
193383
protected function setLocalSessionValue($key, $value) {
    $sessionVarname = get_class($this);
    $localValues = $this->session->get($sessionVarname, null);
    if ($localValues == null) {
      $localValues = [];
    }
    $localValues[$key] = $value;
    $this->session->set($sessionVarname, $localValues);
  }
547244
protected function setData($key, $value)
    {
        $this->data[$key] = (is_array($value)) ? $value : [$value];
    }
1034865
public static function push(array &$array, $key, $value)
    {
        $keys = explode('.', $key);
        foreach($keys as $key) {
            if(!isset($array[$key])) {
                $array[$key] = [];
            }
            $array = &$array[$key];
        }

        if(!is_array($array)) {
            $array = [];
        }

        array_push($array, $value);
    }
1217142
public function push($name, $value) {
        $_SESSION = Hash::insert($_SESSION, $name, $value);
        return $value;
    }