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