Variable, Data Detail, and Session Storage Manager

Hello,

Good day!
I would like to ask for help on some of my questions.

Can you please correct me if I am wrong?
From my understanding, I can set the value of any of the 3 objects on a page:

  1. variable
  2. data detail key
  3. session storage manager item

…to any item from a selected table’s row?

And if possible,

  1. What are their differences and their acceptable usage?
  2. Which values will persist and can be reused if the page has been refreshed?

Thank you in advance.

Sorry to bother you. I saw an article about storage and will check on it.

Cookies and the new array component

Yes we have many articles on State Manager, used for all kind of storage management to save and restore state.

See:

Also many are listed in also on DMXzone as articles that we still need to convert to our Wappler docs:

Maybe @Teodor can have a look as well.

1 Like

Hi @zitroware
Can you explain what are you trying to achieve, so i can recommend which component to use and how?

Hi Teodor,

I have some kind of a “setup wizard” page.
What I am trying to do is for any variables to be present in the page even when the user tries to refresh or revisit the page anytime until the user commits the changes to the database.
I am now using the Session Storage Manager and I think it works fine. I am also looking into using a temporary table for the values.

Do you have any other recommendations.
If I am going to use a temporary table, is there a direct way to create a “copy” data from the temp to a live table?

Thank you.

Using session or local storage is perfectly fine for this.

Yes, all you need to do is to query the temp table and loop through its records, then run database insert step and insert the values in the other table.

Thanks Teodor.

1 Like