set() public method
Adds a session variable.
If the specified name already exists, the old value will be overwritten.
public void set ( $key, $value ) | ||
---|---|---|
$key | string |
Session variable name |
$value | mixed |
Session variable value |
Designed by : w10schools
service@w10schools.com
Please login to continue.