Quote:
|
If ($x == "logout") {return my_pligg_base."/login.php?op=logout&return=index.php";}
|
I thought this worked, but there might be a problem with it. I got this feedback from a user:
Quote:
|
I noticed that if you bookmark the page when you are logged in, log out and then click that bookmark link you are automatically logged in. Not sure if that is an issue or not, just thought I'd mention it.
|
I did some testing and it seems that
if you log out and then click "home", you are automatically logged back in.
When I changed the code back to the original line with $var1, this problem didn't occur.
Try it for yourselves. Does the same thing happen to you?