CI_Session::mark_as_temp()

mark_as_temp($key[, $ttl = 300])

Parameters:
  • $key (mixed) – Key to mark as tempdata, or an array of multiple keys
  • $ttl (int) – Time-to-live value for the tempdata, in seconds
Returns:

TRUE on success, FALSE on failure

Return type:

bool

Marks a $_SESSION item key (or multiple ones) as “tempdata”.

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

Please login to continue.