@ahmadnasriya Hey, I think I found the issue.
Lightbox (works):
let test = await session.getItem("key");
The problem is at my page code:
This works:
session.setItem("key", "I am a String");
wixWindow.openLightbox("Formular");
This doesn’t work:
wixWindow.openLightbox("Formular");
session.setItem("key", "I am a String");
I think the lightbox doesn’t refresh the session data, after I opened it.
Here an example:
Case 1:
This is my session storage, before the lightbox opens. I can use the command
session.getItem("tryout")
to get the value.
Case 2:
This is my session storage, after the lightbox has been opened. If I use the command
console.log(session.getItem("Upload1"));
I get null as value.
Is there any way to set an session item, after I opened the lightbox?

