unset_userdata($key)
| Parameters: |
|
|---|---|
| Return type: |
void |
Unsets the specified key(s) from the $_SESSION superglobal.
Note
This is a legacy method kept only for backwards compatibility with older applications. It is just an alias for unset($_SESSION[$key]) - please use that instead.
Please login to continue.