View Single Post
  #12 (permalink)  
Old 08-28-2008, 06:11 AM
longcountdown's Avatar
longcountdown longcountdown is offline
Pligg Donor
 
Join Date: Nov 2007
Location: Japan
Posts: 75
Thanks: 25
Thanked 18 Times in 11 Posts
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?
Reply With Quote