= 5.1) {session_regenerate_id(true);} else {session_regenerate_id();} //declare two session variables and assign them $_SESSION['MM_Username'] = $loginUsername; $_SESSION['MM_UserGroup'] = $loginStrGroup; $_SESSION['authority'] = $row_LoginRS['authority']; $_SESSION['Menu01'] = $row_LoginRS['menu01']; $_SESSION['Menu02'] = $row_LoginRS['menu02']; $_SESSION['Menu03'] = $row_LoginRS['menu03']; $_SESSION['Menu04'] = $row_LoginRS['menu04']; $_SESSION['Menu05'] = $row_LoginRS['menu05']; $_SESSION['Menu06'] = $row_LoginRS['menu06']; $_SESSION['Menu07'] = $row_LoginRS['menu07']; $_SESSION['Menu08'] = $row_LoginRS['menu08']; $_SESSION['Menu09'] = $row_LoginRS['menu09']; $_SESSION['Menu10'] = $row_LoginRS['menu10']; $_SESSION['Menu11'] = $row_LoginRS['menu11']; $_SESSION['Menu12'] = $row_LoginRS['menu12']; $_SESSION['Menu13'] = $row_LoginRS['menu13']; $_SESSION['Menu14'] = $row_LoginRS['menu14']; $_SESSION['Menu15'] = $row_LoginRS['menu15']; if (isset($_SESSION['PrevUrl']) && false) { $MM_redirectLoginSuccess = $_SESSION['PrevUrl']; } header("Location: " . $MM_redirectLoginSuccess ); } else { header("Location: ". $MM_redirectLoginFailed ); } } ?> <?php echo $row_rsSchool['AppName']; ?>

 

System Login

ชื่อผู้ใช้
รหัสผ่าน