A:<?php
session_start();
$_SESSION['a'] = "a";
?>
B:<?php
session_start();
echo $_SESSION['a'];  //a
?>