title: how to handle SESSION object in different extension of the same address in php
body: <p>I am using PHP to store Product Cart and User login Session in PHP SESSION object. Everything working perfectly but there is only one problem occurs every time.</p>
  
  <p>If any one create a session in <a href="http://www.example.com/" rel="nofollow">http://www.example.com/</a><br/>
  and if the url change to 
  <br/><a href="http://example.com" rel="nofollow">http://example.com</a> or <a href="https://www.example.com" rel="nofollow">https://www.example.com</a> or <a href="https://example.com" rel="nofollow">https://example.com</a>
  then the session is gets vanished and again if the url become <br/><a href="http://www.example.com" rel="nofollow">http://www.example.com</a>  the SESSION appears again.</p>
  
  <p>How to solve this problem. I can not maintain the url and the session because users are redirected to my site from different websites.</p>