browser back and forward button related for running preparation

browser back and forward button related for running preparation

  

i have two modules 1 and 2 . so when ever i am switching from 1 to 2 and then back to 1 with the help of browser's back button then i am not able to run the preparation of module 1 . please suggest me 

Hi,

Modules do not have preparation, web screens can have it ;)

This is standard browser behaviour, I think. But there are workarounds.

See this component from Ruben:

https://www.outsystems.com/forums/discussion/33014/how-to-protect-the-browsers-back-button/

Cheers

Eduardo Jauch

HI Lovish,

What the browser does, when you hit the back button, is get its locally cached copy and display that. There's no communication with the server, which is why the preperation isn't run.

Eduardo Jauch wrote:

Hi,

Modules do not have preparation, web screens can have it ;)

This is standard browser behaviour, I think. But there are workarounds.

See this component from Ruben:

https://www.outsystems.com/forums/discussion/33014/how-to-protect-the-browsers-back-button/

Cheers

Eduardo Jauch


oops sorry, i mean web screen is set to home entry point. so that web screen preparation needs to run. But it is not running


The why was already answered by Kilian. :)

I think the component provided by Rúben can help you to solve this problem.

Take a look in the link I provided.

Cheers