Session.setItem / Session.getItem

So, I’m trying to partially replicate the use of the session.setItem / session.getItem, that is extensively explained in the wix article mentioned ( https://support.wix.com/en/article/corvid-tutorial-creating-a-one-time-popup ). The difference is that I am not using wix-window, as I am not opening anything with code

There are other ways to do it, but I just tried to replicate the use of session.setItem/session.getItem from the article and I couldn’t

That’s about everything, but I don’t get it. It’s not an issue, I’m not stuck, but I would like to know how those tools should be used

Thanks anyway,