title: php session variable value is null when hosted to server
body: <p>i having a strange issue in sessions.. this is working in WAMP server in my local machine.. my problem is wen hosted to a server in US it's not working..</p>
  
  <p>im doing like this:</p>
  
  <pre><code>session_start();
  $_SESSION['test'] = 'testing login..';
  </code></pre>
  
  <p>in another page i'm doing:</p>
  
  <pre><code>session_start();
  echo('my session value is : '.$_SESSION['test']);
  </code></pre>
  
  <p>but i'm getting only
  my session value is : </p>
  
  <p>my session value is not setting..</p>
  
  <p>i checked the session.save_path in cPanel of the server it says /tmp.</p>
  
  <p>pls help..
  thanks in advance.</p>