CI_Session::flashdata()

flashdata([$key = NULL])

Parameters:
  • $key (mixed) – Flashdata item key or NULL
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.

doc_CodeIgniter
2016-10-15 16:31:52
Comments
Leave a Comment

Please login to continue.