title: How do I set a PHP cookie for one second or a short period of time?
body: <p>Would this work?
  <code>setcookie("TestCookie", $value, time()+1;</code></p>
  
  <p>So is this correct... from my understanding, you have to add the current time (since it counts from the epoch) and then add how many seconds? like one?</p>