Hello all,
I see the usage of the following code snippet:
$cookieexpiry=(time()+21600);
setcookie("rwphp","$cookieid",$cookieexpiry,"/",$_SERVER["HTTP_HOST"],0);
unset($cookieexpiry);
Q1> My question is whether or not this is a good practice to unset $cookieexpiry.
Q2> In general cases, when should I unset variables?
Thank you