How to refresh user session after update?

Hi everyone,

I’m using a markdown block with Handlebars to display user-specific data (like their name) on the homepage. I also have a form with a workflow that updates this user data and then redirects back to the homepage.

The problem: after the update, the homepage still shows the old values unless I log out and log back in. It seems like the session or user context isn’t being refreshed.

Question:
How can I force a session/user data refresh after the update so the markdown block shows the updated values immediately?

Any tips or workaround would be appreciated!

Thanks in advance.

Have you tried refreshing the page? Does refreshing the page in your browser update this value?

Hello, no, only logout/login refresh the session value.

Can you try to reproduce your issue in this environment?

https://a_f3mpqavsiht.v7.demo.nocobase.com/admin/ttae4sfeiq0