You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my SafeRedirect.php page, I used it from [here][1]
<?php
function safe_redirect($url, $exit=true) {
if (!headers_sent()){
header('HTTP/1.1 301 Moved Permanently');
header('Location: ' . $url);
header("Connection: close");
}
print '<html>';
print '<head><title>Redirecting you...</title>';
print '<meta http-equiv="Refresh" content="0;url='.$url.'" />';
print '</head>';
print '<body onload="location.replace(\''.$url.'\')">';
print 'You should be redirected to this URL:<br />';
print "<a href=$url>'$url'</a><br /><br />";
print 'If you are not, please click on the link above.<br />';
print '</body>';
print '</html>';
if ($exit) exit;
}
?>
The problem here even after logout I still can access my pages which I was trying to prevent by using sessions. I tried to open my pages from different browsers (Hoping the problem would be from the browser setting) but its the same.
What could be possibly wrong?
The text was updated successfully, but these errors were encountered:
Could you please further explain how this is a bug in Matomo?
If not I'd recommend you to ask this question somewhere else (e.g. stackoverflow) as this is the issue tracker for bugs in Matomo.
@Sosycs I'll close the issue. If this is Matomo related and a bug in Matomo feel free to comment. If you're doing some custom development you may want to ask in the forums: https://forum.matomo.org
This has been a problem for more than week, and I started to believe it has something with other than the code!
This is my session page:
I set
$_SESSION['login_user']
after login and callsession.php
in every page. I also have a logout page:my
SafeRedirect.php
page, I used it from [here][1]The problem here even after logout I still can access my pages which I was trying to prevent by using sessions. I tried to open my pages from different browsers (Hoping the problem would be from the browser setting) but its the same.
What could be possibly wrong?
The text was updated successfully, but these errors were encountered: