Mega Code Archive

 
Categories / Php / Cookie Session
 

The cookie expires one day from now

setcookie('longer-userid','AAA',time() + 60*60*24);