title: Why PHP session destroys when clear browser's cookie
body: <p>I have a little confusion about PHP session and session cookies.</p>
  
  <p>Let me ask my question by giving an example of www.example.com.</p>
  
  <p>When I login to www.example.com, it starts a session. So I'm logged in as a user on this website. </p>
  
  <p>Now when I clear cookies in my browser, it deletes all the browser cookie. </p>
  
  <p>My question is - Is the session at www.example.com destroyed when I clear the browser cookies even when I haven't clicked on logout button to destroy the session ?</p>
  
  <p>So that explains what I want to ask. </p>
  
  <p>Does clearing browser cookies automatically destroys PHP session even when you haven't done anything on a website that will call the function to destroy the session ??</p>