I have one PHP script with a session variable, set like so:

```
$_SESSION['VAR1'] = "test"

```

Now, I am using AJAX via a jQuery-initiated POST request, and so I have a script named `ajax.php` which has all the required functions.

And when I try access my session variable (`echo $_SESSION['VAR1']`) in ajax.php, it produces nothing.

Does session does not work from AJAX requests?