session_start();
echo "1. SESSION: ".$_SESSION['ad'];
if ($_SERVER["REQUEST_METHOD"] == "POST")
{
$_SESSION['ad']=$_POST['ad'];
}
echo "2. SESSION: ".$_SESSION['ad'];

?>









echo "3. sessıon: ".$_SESSION['ad'];
?>