mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Added session_start to authentication
This commit is contained in:
@@ -48,6 +48,8 @@ $sql = "SELECT stg_value
|
||||
|
||||
session_name($db->GetOne($sql));
|
||||
|
||||
session_start();
|
||||
|
||||
//check if the session exists or loginID not set
|
||||
if (session_id() == "" || !isset($_SESSION['loginID']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user