I found many answers related to ASP.NET MVC as well as PHP-related one (e.g. How to access PHP session variables from jQuery function in a .js file? )
However I would like to understand if it's possible (via Chrome DevTools' console or in a .HTML page) to access a variables set in PHP by:
$_SESSION['varXY'] = 'abc';