CI_Session::set_flashdata()

set_flashdata($data[, $value = NULL])

Parameters:
  • $data (mixed) – An array of key/value pairs to set as flashdata, or the key for a single item
  • $value (mixed) – The value to set for a specific session item, if $data is a key
Return type:

void

Assigns data to the $_SESSION superglobal and marks it as “flashdata”.

Note

This is a legacy method kept only for backwards compatibility with older applications.

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

Please login to continue.