moved to new login/logout enforcement system

master
BodgeMaster 2020-03-07 21:40:38 +01:00
parent eceb51f7d1
commit 24b4436358
13 changed files with 17 additions and 2 deletions

View File

@ -1,5 +1,6 @@
<?php <?php
session_start(); session_start();
%SET_LOGIN_VARIABLE%
//ToDo: Remove dis when development izz done. Cause perfoarmance. //ToDo: Remove dis when development izz done. Cause perfoarmance.
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%

View File

@ -1,5 +1,6 @@
<?php <?php
session_start(); session_start();
%SET_LOGIN_VARIABLE%
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
$id=$_GET['id']; $id=$_GET['id'];

View File

@ -1,5 +1,6 @@
<?php <?php
session_start(); session_start();
%SET_LOGIN_VARIABLE%
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
$id=$_GET['id']; $id=$_GET['id'];

View File

@ -1,5 +1,6 @@
<?php <?php
session_start(); session_start();
%SET_LOGIN_VARIABLE%
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
$navbar="boards"; $navbar="boards";

View File

@ -1,5 +1,6 @@
<?php <?php
session_start(); session_start();
%SET_LOGIN_VARIABLE%
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
$id=$_GET['id']; $id=$_GET['id'];

View File

@ -1,5 +1,6 @@
<?php <?php
session_start(); session_start();
%SET_LOGIN_VARIABLE%
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%
$navbar="boards"; $navbar="boards";

View File

@ -1,5 +1,6 @@
<?php <?php
session_start(); session_start();
%SET_LOGIN_VARIABLE%
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%
$navbar="home"; $navbar="home";

View File

@ -1,4 +1,6 @@
<?php <?php
session_start();
%SET_LOGIN_VARIABLE%
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
%FORCE_LOGOUT% %FORCE_LOGOUT%
$navbar = "logout"; $navbar = "logout";

View File

@ -1,5 +1,6 @@
<?php <?php
session_start(); session_start();
%SET_LOGIN_VARIABLE%
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%
$navbar = "news"; $navbar = "news";

View File

@ -1,5 +1,6 @@
<?php <?php
session_start(); session_start();
%SET_LOGIN_VARIABLE%
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%

View File

@ -1,5 +1,6 @@
<?php <?php
session_start(); session_start();
%SET_LOGIN_VARIABLE%
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%

View File

@ -1,4 +1,5 @@
<?php <?php
%SET_LOGIN_VARIABLE%
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
//permitted chars for password salt //permitted chars for password salt
@ -37,6 +38,7 @@ $navbar = "verify-email";
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head> </head>
<body> <body>
//todo empty navbar
%NAVBAR% %NAVBAR%
<div class="container"> <div class="container">
<div class="item-1"> <div class="item-1">

View File

@ -1,6 +1,7 @@
<?php <?php
%PLEAZE_NO_CACHE% %PLEAZE_NO_CACHE%
session_start(); session_start();
%SET_LOGIN_VARIABLE%
//Todo: make this a setting for users that use VPNs/Proxies and seem to jump around the world rather quickly... //Todo: make this a setting for users that use VPNs/Proxies and seem to jump around the world rather quickly...
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%