Help with Session Storage Manager on Node.JS - I think I corrupted it

I am having issues with the session storage manager for Node… And I have questions.
I am using Node.js on a Mac on version 3.7.1

So here is my issue. I have multiple layout pages, so I added storage managers to each of those. They are named different but when I try to access the storage variables in the content pages, I sometimes see all the storage variables, sometimes I see only the ones in the storage manager for my page. Here are my questions so I can better understand how they work and what I’m doing wrong.

  • Do you have to add the session storage manager to the layout page and not the content page?
  • Can you have multiple named session storage managers, like session1, session2, etc and they each have their own storage variables?
  • If I have multiple storage managers, do they all go into one global file?

If I want to just start all over, is there one file I can delete locally and on the remote target and add the storage manager again to my layout pages?

Here is an example of an issue I’m having. I am trying to set the storage session with a button click. When I view my available actions, I see 2 storage managers listed. on my layout page, I only have one added.


Any assistance or clarification is greatly appreciated.

If you want the contents of the storage to be available on each page, the storage manager needs to be present on each page.

Placing the storage manager on the layout page ensures that the storage manager is available on all child pages.

Here I have shown Local Storage, the same goes for Session Storage:

If you have multiple storages then there will be multiple keys each with their own values.

1 Like

Thanks Ben. That’s what I was thinking but wanted to make sure.

@patrick, can I delete the dmxStateManagement.js file and delete all references to session storage manager on my layout pages and start all over with sessions in my project?

I’m having a similar issue.

  1. I set a Session Storage Manager on the layout page:
  2. I try to access it in a content page with the data picker, it just shows a var that I had made by putting the storage manage ron the content page. image

Current situation:
3. It’s still showing that variable even though I removed the session manager from the content page
4. I still can’t pick the var of the layout page (the adminmode var)

It appears a bit buggy…
@turn3636 did you manage to fix it?

Edit: I can access them in the ‘run’ window


It just seems to be a problem with the data binding picker. It does work when using code like: global_session.data.adminmode

No, it is still a problem for me.