I see, that explains (and provides a partial solution).
I set the isLocal parameter of Update Program Setting to false so it stores it in the database instead of the cache, as you just explained in
and now the user name doesn’t disappear anymore after going to the Manage screen.
Now I just need to find a way to do the same for the department name.
Is there an event where I can catch when someone goes to the Manage screen, or an event where I can catch {:DEPARTMENT} before that?
Maybe the “Application Screen Changed” event? How does this event work? What are the possible values for CurrentScreen and PreviousScreen?
Does the flushing of cache happen before or after this event?