Figured out php sessions...
This commit is contained in:
parent
2b1b7feda6
commit
6f2aa4fd4a
@ -2,7 +2,7 @@
|
||||
// Start the session
|
||||
session_start();
|
||||
|
||||
if ($_SESSION["state"] != null || $_SESSION["state"] == "undefined") {
|
||||
if (isset($_SESSION["state"])) {
|
||||
$state = $_SESSION["state"];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user