Im currently using AJAX plugin to post to a server and then i start a session like this
<?php
session_start();
$_SESSION['user'] = 'cat';
?>
Then i go to a different layout in construct 2 and i post to a different php script on the same server like this
<?php
session_start();
echo $_SESSION['user'];
?>
I get nothing back. The session variable is empty . The variables are not saving from one script to another.
Is this not going to work?
Ive been toying with this for days