Session doen't get data

@nickoertel What is it you are trying to accomplish? What do you mean by “can’t set a new session item after opening the Lightbox”? Why do you want the session item set after?

The proper way to send data to a Lightbox is by passing a data object, as shown in the openLightbox() API :

wixWindow.openLightbox("LightboxName", dataObj);