Mark one of more pieces of data as being temporary, meaning that
it has a set lifespan within the session.

@param string|array $key Property identifier or array of them
@param integer      $ttl Time to live, in seconds

@return boolean    False if any of the properties were not set