title: Access PHP session variable at any time with a jQuery AJAX request?
body: <p>I need to access PHP session variable at any time with a jQuery AJAX request? Is this possible?</p>
  
  <p>What I'm doing, from a "main.html" is making an jQuery AJAX POST request to an external php file "php/upload.php." This script will take 30 minutes or so to run, and while it's running, it is constantly updating a session variable "$_SESSION['var']". I'd like to be able to check the value of this session variable at any time from my "main.html" page. Is that possible using jQuery (or another way)?</p>
  
  <p>I'll be using this session variable to report back how close to completion the "php/upload.php" is to finishing.</p>
  
  <p>Thanks!</p>