Changes to $_SESSION without page reload
===

I have two $_SESSION variables declared as array in index.php, say:

$_SESSION['a'] = array(1,2,3);<br>
$_SESSION['b'] = array(4,5,6);

I make a ajax call from index.php to result.php, where values of session variables are changed
to, say:

$_SESSION['a'] = array(2,3,1,4);<br>
$_SESSION['b'] = array(5,6);

>> What I do is, I remove the first element from both the arrays and append it back to first array, $_SESSION['a'].

On successful ajax call, is it possible to see in index.php, the changes made to session variables?