Anonymous User Journey

0
Hi All, I have a 5 step Anonymous User journey with Next and Back buttons. I also support 2 languages, EN and AR(Arabic) In each page of this journey i am supposed to display a button which lets the user switch the language. I am able to achieve this in the first page easily as it is just a matter of changing the anonymous user language to another one and refreshing the page using URLRedirector widget. However if I do the same in another page, i redirected back to the Homepage! So the question is, is there a way to stay on a page on refresh?
asked
3 answers
3

You could try to create an object with the language setting and associate it with the session object. Open every page with a microflow that retrieves this language setting through $currentsession and opens the page that correlates with that language. Clicking the language button simply changes this setting.

answered
1

I don't know if it is the best way, but you could use deeplinks(deeplink module from the appstore) for your redirects. In that case you should create a deeplink with a microflow for each page that you want to redirect to. This should ensure that the page redirects to the correct step in your process.

answered
0

Hi Ganesh, 

Did you find a solution at the end ? From my side, the mxReloadWithState() works perfectly in mendix 7.23.6 but not any more in Mendix 8.X, I got the same issue as you : Back to the homepage :(

answered