Added validation for PHP_SESSION constants creation