Logoff/Exit in dsmenu

Hello,

how can i implement a menu item where the user could do a Logoff, so that annother user could do a login ?
In the normal menu there is a “leave” function, but this could not work with dynamic menues.

Any ideas ?

Re: Logoff/Exit in dsmenu

Hello,

Create a new menu item and set its target as “exit” (the option just below icon).

regards,
Bernhard Bernsmann

Re: Logoff/Exit in dsmenu

Bernhard,

i use a dynamic menu, so i could not do it as you suggest.

any other possibilities ?

Re: Logoff/Exit in dsmenu

I have the same problem I used this and wrapped the link in a button tag :
http://www.scriptcase.net/forum_en_us/index.php?topic=6380.0
as a temporary solution it works, however I think a blank app with an onload func() is a better option but I cant get it to close the parent app.

Re: Logoff/Exit in dsmenu

Read this post.
https://www.scriptcase.net/forum_en_us/index.php?topic=2505.0
the sc_redir method still opens in the i-frame for me in chrome however the php/javascript echo method works perfectly.

  • I replaced the relative path with an absolute path, I have noticed that they act differently in my prod. environment

Re: Logoff/Exit in dsmenu

i fixed it with something like:

My MENU looks to the [usr_name]
if it?s BLANK i open a standard menu where i have a login button
The app_login does a sc_redir to the MENU give the [usr_name] as parameter and then i refresh the menu with the "LOGGED IN " application
My logout Button does
sc_redir(MENU, "[usr_name]=’ ’ ", “_parent”)
to set [usr_name] BLANK and open the standard menu