I have W2k IIS5 and last php (just downloaded) have a default settings, when i close and then re-open the browser session variable still exists, and will never die ??
this is what i go to file named config.php:
<?
session_start();
session_register("admin_loggedin");
if ($HTTP_SESSION_VARS["admin_loggedin"]=="")
header ("Location: login.php");
echo $HTTP_SESSION_VARS["admin_loggedin"];
?>
this is a login.php file :
<?
include "config.php";
$admin_loggedin= "5";
header ("Location: index.php");
?>