Force page redraw after language change

I have a web project that includes localized strings. I have a control on a page where the user can select what language they want to display. In that control event I change the Session.LanguageCode to the newly selected value… but I cannot seem to get the page to change to the new language.

Setting to a different language does work in the Session.Opening event so I know I have the localized strings working correctly.

Any ideas are appreciated.

Xojo Web keeps pages in memory.

You probably need to close the page, then instantiate it again.

Ugh… hoping not to do that… but will give it a try.

The other way to do it would be to reload the textual content of controls with the dynamic constants.