No headers has been sent before, no white space befor starting php code.
The problem is verified in only two of all servers i've ever use.
Thanks in advance to everyone.
the code is exactly this one.
Code: Select all
<?php
if(CONDITION){
$_SESSION['SOMETHING'] = "SESSION VALUE";
header('Location: destination1');
}
elseif(CONDITION){
echo "SOMETHING";
}
else{
header('Location: destination2');
}
?>