[php] Cookies

taekwondokid42

New Member
Messages
268
Reaction score
0
Points
0
I need to make a cookie that expires ~5 seconds after it was created.

Does anybody know what I should set the time to?
 

taekwondokid42

New Member
Messages
268
Reaction score
0
Points
0
setcookie('asdf', 'asdf', time()+5);


Is that what the cookie should look like?



edit: Everything worked, nvm. Thank you.
 
Last edited:
Top