flashdata([$key = NULL]) 
| Parameters: | 
  |  
|---|---|
| Returns: | 
 Value of the specified item key, or an array of all flashdata  |  
| Return type: | 
 mixed  |  
Gets the value for a specific $_SESSION item that has been marked as “flashdata”, or an array of all “flashdata” items if no 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.