hi,
i upload my website on server that using php5/IIS6 and logout function not working code im using for logout is following but its working fine on my local where im using php5/apache.
code:
session_start();
// i also tried to empy session variables
$SESSION['LogedStatus'] = "";
$SESSION['LogedUser'] = "";
$_SESSION['LogedUserID'] = "";
//also tried to uset session variables
unset($SESSION['LogedStatus']);
unset($SESSION['LogedUser']);
unset($_SESSION['LogedUserID']);
//also tried to unset session itself
session_unset();
session_destroy();
header("Location: " . $_REQUEST['ru']);
all this code working fine on my local php5/apache2 but on server it dosnt work. plz tell me if i need to do something with php.ini on server or any thing im doing wrong ?