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”.