HOW-TO remove the entire menu?

I am creating an app that uses dynamic menus. On clicking Logout, I want the menu to go away and a simple screen saying that the user has logged out successfully. How do I do this? I have created a control app called app_logout and am calling this when the Exit menu is clicked. However, the menu is still visible.

Regards.

The best way I can think of is to call an application without the menu. I useually have two menu applications, one with, and one witouth menu entries. Then only a small line is shown.

My logout in the menu calls a simple blank app with this code:


[user_name] = "";

$cookie_name = $_SESSION['app']['cookie_name'];

if ([var_DeleteCookie] == 1)
{
    //
    // Cookie f?r Autologin l?schen bzw. ung?ltig machen
    //
    ob_start();
    // Passwort ist schon MD5 verschl?sselt
    $tmparray = array("", "", 0, 0);
    $mycookie = implode("|", $tmparray);
    $expirytime = time() - (60*15);
    setcookie($cookie_name, $mycookie, $expirytime, "/");
    ob_end_flush();
}

$link = "<input type=\"button\" value=\"K-I-S neu starten\" name=\"button_kisrestart\" onclick=\"window.location='../code_Autostart/';\">";
    
print_r([app_title] . " beendet ...<br/><br/>" . $link);


This shows a blank screen with the message, that you exit the app and a button with that you can simply re-enter the app.

I thought the menu is a separate app that runs in its own iframe and it displays the apps in a different frame. Could you please elaborate a little on how you do it?

Hi Reinhard - the problem I have is how do I get rid of the menu iframe? The exit/logout is a menu item. When clicked, it executes the called app in the “app” frame and keeps itself alive. I want to somehow kill the menu iframe. I hope you got what I am trying to do.

Regards.

In the properties for the exit/logout menu item select simply: Target = Leave

Thanks a lot. Quite a simple solution indeed!!! Getting to learn all the possible possibilities of SC. :slight_smile: