Why session is clearing while we clear cookies in the browser?
<p>I am doing a project in PHP. I have a small doubt in cookies and session.</p>

<p>Here is my doubt.</p>

<ol>
<li><p>Cookies are saved on browser side.</p></li>
<li><p>Session is saved on server side.</p></li>
</ol>

<p><strong>If we clear cookies in the browser why session is also getting clear.</strong> </p>

<p>As per conditions cookies are saved in browser side. And session are saved in server side.
If we clear cookies in browser how the session which is stored in server is also clearing.</p>

<p>Kindly clarify this...</p>

<p>thanks in advance...</p>
