[PHP/JavaScript]: Get PHP session value in other file's JavaScript function
<p>I have a PHP file and it holds a value in this session variable: $_SESSION['image_value'].</p>

<p>I want this session value in a JavaScript function. Actually, I want to match a string in my JavaScript function with this session value.</p>

<p>Anyway I can do this?</p>
