Solar_Session::setFlash()

public void Solar_Session::setFlash ( string $key , mixed $val )

Sets a flash value by key; this will start the session if needed.

Parameters

  • (string) $key: The flash key.

  • (mixed) $val: The value for the key; previous values will be overwritten.

Returns

  • (void)

Description

Sets a flash value by key; this will start the session if needed.



Local