Get a message or value of the given name from Session
Parameters | |||
---|---|---|---|
string
|
$name |
The session variable name to retrieve its value It can be a value separated by period, e.g., user.name will be ['user']['name'] |
# |
boolean
|
$unserialize = false |
The value is to be unserialized or not |
# |
Returns | |
---|---|
mixed
|
The value from SESSION |