PHP Cookie Set expiry time to none
<p>i am setting a cookie but having some issue , currently the cookie format is this</p>

<pre><code>setcookie("company_id", $company_id, 0, '/');
</code></pre>

<p>So expiry time is set to 0 means cookie will never expire , but when i tried to not to set any expiry time so i passes an empty argument in the third parameter like this </p>

<pre><code>setcookie("company_id", $_POST["company_id"], "", '/');
</code></pre>

<p>But this is not working , cookie is not getting, when i changed the empty argument to 0 it than start working, any suggestions ?? what i am doing wrong ?</p>
