Alicia
12-12-2003, 06:40 PM
Hi guys,
I hope you guys can give me an idea how to set this code so once the user close the browser, the session or cookie will be deleted... i have tried to put -3600 in the code but the cookie seems still there..
please advise.
my code:
{
session_start();
setcookie("cartId", session_Id(), time() + 3600);
return session_id();
}
I hope you guys can give me an idea how to set this code so once the user close the browser, the session or cookie will be deleted... i have tried to put -3600 in the code but the cookie seems still there..
please advise.
my code:
{
session_start();
setcookie("cartId", session_Id(), time() + 3600);
return session_id();
}