Nile,
Thank you for your continuing efforts.
Code:
<?php
session_start(); //just for precaution
if(isset( $_SESSION['visited'] ))
{
echo "Sessions appear to be working!";
session_unset();
exit;
}
$_SESSION['visited'] = true;
echo "Session set attempted. Refresh.";
?>
works, just as you describe.
The output from
Code:
<?php
echo 'session_cache_expire(): '.session_cache_expire().'<br>';
echo 'session_cache_limiter(): '.session_cache_limiter();
?>
is
session_cache_expire(): 180
session_cache_limiter(): nocache
It will take me some time to try to distill the code to the ten or so lines that you seek.
Bookmarks