userdata([$key = NULL]) 
| Parameters: | 
  |  
|---|---|
| Returns: | 
 Value of the specified item key, or an array of all userdata  |  
| Return type: | 
 mixed  |  
Gets the value for a specific $_SESSION item, or an array of all “userdata” items if not key was specified.
Note
This is a legacy method kept only for backwards compatibility with older applications. You should directly access $_SESSION instead.
Please login to continue.