This topic is locked

Popup + logout

7/20/2010 2:16:59 PM
PHPRunner General questions
K
kkiboo author

My project is opened by clicking a link which opens a popup. Is there anyway to use the logout link to close the popup window then go to the Login page in the parent window?

A
ann 7/21/2010

Hi,
you need to edit generated \output\login.php file.

Find this code:

if(@$_POST["a"]=="logout" || @$_GET["a"]=="logout"){



and add your code just after.

Unfortunately we don't have a ready to go solution for this.

K
kkiboo author 7/22/2010



Hi,
you need to edit generated \output\login.php file.

Find this code:

if(@$_POST["a"]=="logout" || @$_GET["a"]=="logout"){



and add your code just after.

Unfortunately we don't have a ready to go solution for this.


Forgive me, but could you explain what exactly this will do when I insert code after it? Will this tell it that whenever a logout link is clicked, (my code) happens? Thank you for your patience.

A
ann 7/23/2010

Hi,
yes, your code will be executed while the logout link be pressed.