title: php session variables not working on server
body: <p>i have a problem with my website on server,<br>
  I am new to php</p>
  
  <p>my login page contains the following code:</p>
  
  <pre><code>    session_set_cookie_params(0, '/', 'marutinrutyakala.co.uk'); 
      session_start(); 
      $_SESSION['name']= $adminname; 
      $_SESSION['login']=true; 
      $_SESSION['start']=time(); 
      echo '&lt;META HTTP-EQUIV="Refresh" Content="0; URL=performance.php"&gt;';
  </code></pre>
  
  <p>now on  performance.php the code is      </p>
  
  <pre><code>    session_start(); 
      if(!isset($_SESSION['login'])) 
      { echo '&lt;META HTTP-EQUIV="Refresh" Content="0; URL=index.php"&gt;'; }
  </code></pre>
  
  <p>Page code to execute here........</p>
  
  <p>This code worked fine on local host but fails on server......</p>
  
  <p>please help....</p>