hi,
I use the following to set the login session:
$_SESSION["login"] = $username;
$_SESSION["security"] = "1";
then on my admin.php page, I use this:
if ($_SESSION["security"] != "1")
{
header("Location: login.php?error=2");
exit();
}
now.... the above works perfectly on my personal web server (IIS) using WinXP, PHP version 4.2.2
but it doesnt work on my W2k server (NT5.0, php4.2.2)
any ideas why??
register_globals are both ON on both servers...
cheers.....