I was wondering if there is a way to set session variable in Ajax response, which would basically look like this:
// this is response
function(response)
{
<?php $_SESSION['ID'] = response.id ?>
// or something similar to this? 
}
And then afterwards when I need to use the session so that I can access it.
// (Some php file)
$var_id = $_SESSION['ID']; 
Is this doable?
 
     
     
    