From 4571e96e223e7584e5bd6ff22e28dce408a91edf Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 26 Mar 2006 11:39:30 +0000 Subject: [PATCH] set security settings --- lam/templates/login.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lam/templates/login.php b/lam/templates/login.php index 0c850b72..3b81cdbc 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -362,8 +362,11 @@ if(!empty($_POST['checklogin'])) $_SESSION['header'] .= "\n\n"; $_SESSION['header'] .= "\n"; $_SESSION['header'] .= "\n "; - - include("./main.php"); // Load main frame + // set security settings for session + $_SESSION['sec_session_id'] = session_id(); + $_SESSION['sec_client_ip'] = $_SERVER['REMOTE_ADDR']; + // Load main frame + include("./main.php"); } else {