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
session_start();
%SET_LOGIN_VARIABLE%
//ToDo: Remove dis when development izz done. Cause perfoarmance.
%PLEAZE_NO_CACHE%
%NO_CHEAP_SESSION_STEALING%

View File

@ -1,5 +1,6 @@
<?php
session_start();
%SET_LOGIN_VARIABLE%
%NO_CHEAP_SESSION_STEALING%
%PLEAZE_NO_CACHE%
$id=$_GET['id'];
@ -16,4 +17,4 @@ $id=$_GET['id'];
echo "<p>EPIC FEED</p>";
?>
</body>
</html>
</html>

View File

@ -1,5 +1,6 @@
<?php
session_start();
%SET_LOGIN_VARIABLE%
%NO_CHEAP_SESSION_STEALING%
%PLEAZE_NO_CACHE%
$id=$_GET['id'];
@ -16,4 +17,4 @@ $id=$_GET['id'];
echo "<a href='%CONTENT_DIR%/board/post.php?id=$id'><button> Post something </button></a>";
?>
</body>
</html>
</html>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,7 @@
<?php
%PLEAZE_NO_CACHE%
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...
%NO_CHEAP_SESSION_STEALING%