Short Question About Shared Objects

Can I store a variable value in a shared object, then open a new window, and then read this value stored from the sared object?

(I’m trying to pass a value from a old window to a new one opened from the old one (the value is only a date))

Thanks for your answers and help!