I run one website which requires a secure login, and works by starting a php session with each page, ie:
Code: Select all
include 'authenticate.php';i'm interested in finding out any alternatives, or tips for best practices - any thoughts?
Moderator: General Moderators
Code: Select all
include 'authenticate.php';Code: Select all
if($_SESSION['authenticated'] == true)