In my local machine and online server,
i have a folder 'test' and three files in it (one.php,two.php,three.php) .
one.php
<?php
ob_start();
session_start();
$_SESSION['one'] = 1;
header('Location:two.php');
exit();
?>
two.php
<?php
ob_start();
session_start();
$_SESSION['two'] = 2;
header('Location:three.php');
exit();
?>
three.php
<?php
ob_start();
session_start();
echo '<pre>';print_r($_SESSION);
?>
i tarayıcıda one.php alırken ben bir çıktı almak
//Local machine
array[one] =1
array[two] =2
this is correct
// Online Server
array[one] =1
this is not correct
What is wrong with this? i donot getting any warning,
Herkes bana söyleyin lütfen, sorun ne?