04-12-2018, 12:34 PM
Hi,
When you use in a standard page, you get all $_SESSION variables are set twice, if that a bug?
I have this test.php page under US root folder:
now I can see the following SESSION variables two times:
[_data:User:private] => stdClass Object
[_SERVER] => Array
.... and so on
When you use
Code:
print_r(get_defined_vars());I have this test.php page under US root folder:
Code:
<?php require_once 'users/init.php'; ?>Code:
<?php require_once $abs_us_root.$us_url_root.'users/includes/header.php'; ?>Code:
<?php require_once $abs_us_root.$us_url_root.'users/includes/navigation.php'; ?>Code:
<?php if (!securePage($_SERVER['PHP_SELF'])){die();} ?>Code:
<?phpCode:
echo "<pre>";Code:
print_r(get_defined_vars());Code:
echo "</pre>";Code:
?>Code:
<!-- footers -->Code:
<?php require_once $abs_us_root.$us_url_root.'users/includes/page_footer.php'; // the final html footer copyright row + the external js calls ?>now I can see the following SESSION variables two times:
[_data:User:private] => stdClass Object
[_SERVER] => Array
.... and so on

