I declare one variable, in file1.php:
Code:
<?php
session_start();
$_SESSION["something"] = "somevalue";
?>
and make file2.php:
Code:
<?php
session_start();
echo $_SESSION["something"];
?>
when I execute file1, then file2 I get value of session, but
when I close my browser and start it again, executing the file2
without file1 I don't get value of session variable... why?