@George when you 'try a few samples', do your tests include putting session management in a layout page and trying to access it from a content page? What are the configuration requirements when NOT putting session manager in a content page, but using a layout page instead?
Please see my bug report from yesterday. I get the "empty list" when trying to access session manager variables where session manager is in layout and I need access to them from content.
Created a content page based on this layout page. Added a button and added an onclick event to it. I can see the Session Storage Manager and i can access its variables from this page on button click:
I appreciate the response @Teodor . Do you have 6.8 to test this on since 6.8 is the current stable version?
I'm perfectly willing to accept that my configuration or usage is at fault. I would just like to figure out what's causing it not to work for me so I can admit it and move forward.
Ok, thank you. Is there some configuration at the top level of my project that may be interfering with this working for me? Where should I be looking to figure out why it's not working with my application?
The info about the components used on your layout pages is stored in a file called config.js located in public > dmxAppConnect folder. Maybe your config file got corrupted for some unknown reason:
In my config.js, it doesn't show "sessionMgrMain" in main.ejs. It's been there for at least 6 months. The config.js file is showing the session manager I added this morning to viewpictures, which is what I've fallen back to using for the moment.
Maybe try restarting Wappler with debug on, then open the layout page, add a session manager, define a variable and save the page.
Attach the debug log here so we can see if there are any errors in it.