Hi there Jason and thanks for responding
I use the login name "user" and I inserted the code you sent as shown here :
<?php require_once('Connections/ehs.php'); ?>
<?php require_once('webassist/mysqli/authentication.php'); ?>
<?php
@session_start();
if(isset($_SESSION['user'])) unset($_SESSION['user']);
if (($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)) {
$Authenticate = new WA_MySQLi_Auth($ehs);
$Authenticate->Action = "authenticate";
$Authenticate->Name = "user";
But problem is still happening. And not only that, but it logs back with a doubled query string.
For example :
I'm at modifypage.php?id=55 and login expires or I logout.
When I log in again, instead of going to newpage.php, it goes to modifypage.php?id=55&id=55 which causes a SQL syntax error.
Not sure why when I"m using the extension and not messing around with it.
QUESTION : do I reference $_SESSION['user'} our #_SESSION['WA_FAIL_user']?
Thanks