Maddy S.
Maddy S.

Reputation: 97

Url Parameter after logout Php?

After logout on my Page my Url contains the old Parameters like here the parameter to include dynamic the page but when i now login again i will redirect to the logout Page again and get logged out.

Logout Page Reload

     echo '<meta http-equiv="Refresh" content="1; url="./index.php">'; 

Login Page Reoad after Login

    location.reload();

Parameter Url

    /index.php?act=logout

S0 my Question... how to fix that is after logout no parameters at Url so that at least i get when i logout only /index.php ?

Upvotes: 0

Views: 188

Answers (1)

Zebi Rajpot
Zebi Rajpot

Reputation: 186

well seriously question doesn't make sense but .. i don't know how your code is working but you can simple match in index.php

if($_GET['act'] == "logout"){
    //update parameter url parameter
}

Upvotes: 1

Related Questions