Can a session variable be referenced in another page's embedded html?

Question:
Can a session variable be referenced in another page embedded html?

Product:
Wix Studio Editor

What are you trying to achieve:
I have created session variables in Page 1 with Velo session.setitem
Page 2 is largely embedded html from another website.
Page 2 has session.getitem above onReady?
I want to alter the html to use the values of the session variables, but do not know how to do that.

What have you already tried:
Tried $_SESSION[`mysessionvariable’]
but over my head

Additional information:
Pretty new at this stuff
Richard K

Session will only be available if the page is in the same window.

You may want to use local if that’s the issue.

Otherwise the way you access variables in JavaScript is by assigning them so:

let myVar = local.getItem("myData");

will retrieve your previously stored "myData" and put it in the variable myVar