Hello,
I need to set a cookie, but this cookie must be destruct after x seconds, but if the user closes the browser the cookie must be destructed imediatily.
It's possible with PHP Cookie Function?
Hugs
yes it's possible what you should do is to set a cookie in memory, you can achieve that by calling the php function setcookie() without a path. Anyway you should set tyhe cookie var to "" any time you load the first page in order to ensure the cookie have not older values.