Variable is cleared when goback to previous screen


I have a variable  in the main screen, the variable data is change based on user selection in the main screen. When a button is click to go to the next screen and in the next screen i press back, the variable data is cleared/empty.

How can i preserved value of the variable?

Thanks in Advance,


Hi Francel,

Usually the variables got cleaned up when you change screens. You can preserve that for example in Session Variables, but make sure you control this variable very well! 

It's also possible to send the value of that variable on a input variable of the next screen, and if you want to get back to the main page send that value in other input variable (but this doesn't sound a very good solution since you can navigate to previous page using the browser buttons).