Announcement

Collapse
No announcement yet.

Reload of Main Menu

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reload of Main Menu

    Hi,

    i have an application with Multi-User-Environment. I created a control "LoginAs" where the Administrator can choose a Username from the database and directly login as this user. When i press reload in the browser everything works fine but i want to automatically reload the Main Menu when I press OK in the control.

    Any idea?

    Rgds,
    Dietmar

  • #2
    Re: Reload of Main Menu

    I spent 5 hours on this problem before i contacted support:

    The solution is very easy:

    sc_redir(YOURMENU, "", "_parent");

    Thanks to Maximiliano for the great support!

    Comment


    • #3
      Re: Reload of Main Menu

      You may also use PHP as:
      echo "<script>parent.location='../login/login.php'</script>";

      Regards,
      Scott.

      Comment

      Working...
      X