Skip to main content
3-Newcomer
April 13, 2017
Question

Menu in Master mashup not getting refreshed when a new user logs in after session timeout

  • April 13, 2017
  • 1 reply
  • 1223 views

We have a menu in master mashup.

The session times out after a particular interval(Example 5 mins).

We have assigned different permissions in menu to different kinds of users.

The issue occurs when user with a different permission logs into the application after session timeout, the menu displayed is still of the old user.

Solution tried but failed:-

We have placed a contained mashup in place of the menu.

A mashup which contains the menu is returned as the output of a service and is linked  to the contained mashup.

This service is invoked whenever the user changes.

Please let me know if there is any solution.

1 reply

22-Sapphire I
April 13, 2017

The best way is probably a redirect away from the mashup when a timeout happens.

You could also force a 'full refresh' upon login, but that will look weird, since you get the double blink.

But you could use the Expression widget with a location.reload() in the script.