Flash a key / value pair to the session for immediate use.

@param  string $key
@param  mixed $value
@return void
511447
public function now($key, $value)
    {
        $this->put($key, $value);

        $this->push('_flash.old', $key);
    }
208802
public function setValue($key, $value) {
        $this->startSession();
        $_SESSION [$key] = $value;
        $this->sessionData = null;
        session_write_close();
    }
713522
protected function __storeData($key, $value = null)
    {
        if (property_exists($this, $key)) {
            $this->$key = $value;
        }
        else {
            parent::__storeData($key, $value);
        }
    }
1292244
protected function setFlash($key, $value)
    {
        $flashbag = Session::getFlashBag();
        $flashbag->set($key, $value);
    }
1032832
public function set($key, $value) {
        header('' . $key . ': ' . $value . '', true);
        $this->vars[$key] = $value;
    }
1123571
public static function flash($key, $value = null)
    {
        if ($value === null) {
            $result = static::get($key);
            static::remove($key);
            return $result;
        } else {
            static::set($key, $value);
        }
    }
961049
public function set($key, $value)
    {
        array_set($this->settings,$key,$value);
        $this->save($this->path, $this->filename);
        $this->load($this->path, $this->filename);
    }
1145444
public function put($key, $value)
    {
        return $this->session->put($this->getSessionKey($key), $value);
    }
1098085
public function set($key, $value) {
        parent::set($key, $value);
        $_SESSION[$key] = $value;
    }
1081692
public function set($key, $value)
    {
        $method = 'setter' . ucfirst($key);
        if (method_exists($this, $method)) {
            $value = $this->$method($value);
        }
        $this->setRaw($key, $value);
    }
198784
public function set($key, $value)
    {
        $this->checkPermissions(
            $key,
            array_key_exists($key, $this->scope)
                ? self::ACTION_MODIFY
                : self::ACTION_CREATE
        );
        $this->scope[$key] = $value;
    }
906786
public function set($key, $value) {
		$this->loadIfNeeded();

		$this->array[$key] = $value;

		$this->saver->save($this->fileName, $this->array, $this->fileMap);
	}
1265947
public function flash( $key, $value = true ) {
		$this->put( $key, $value );

		$this->push( '_flash.new', $key );

		$this->remove_old_flash_data( [ $key ] );
	}
831891
public function set(string $key, $value)
    {
        $key = $this->security->normalize($key);
        $value = $this->security->normalize($value);
        parent::set($key, $value); // TODO: Change the autogenerated stub
        $_SESSION[$key] = $value;
    }
344258
public function set(string $key, $value)
    {
        $array = &$this->input;
        $keys = explode('.', $key);

        while (count($keys) > 1) {
            $k = array_shift($keys);
            if (!isset($array[$k]) || ! is_array($array[$k])) {
                $array[$k] = [];
            }
            $array = &$array[$k];
        }

        $array[array_shift($keys)] = $value;
        $this->cache[$key] = &$value;
    }
255508
public function setFlash($key, $value) {
		if (!$this->started) {
			return $this;
		}

		$_SESSION[$this->nextFlashSessionKey][$key] = $value;
		return $this;
	}
568718
public static function set( $key, $value = null )
    {
        Option::set( static::$_options, static::_getKeyTag( $key ), $value );
    }