add cookie example for base->set with ttl option