window.open(), do you have any standard specifications for whether the session will be taken over?
Or do you decide on your own for each browser?
Let's make the session take over a little bit more specific:
As far as I checked with Chrome 51 and IE11, both of them were as follows:
SessionStorage content is copied to a child window when window.open, but is independent and does not synchronize after that
It seems that the browser is not proprietary.
When a new top-level browsing context is created by a script in an existing browsing context, or by the user following a link in an existing browsing context, or in some other way related to a specific Document, and the creation is not a new start for session storage, then the session storage area of the origin of that Document must be copied into the new browsing context when it is created. From that point on, however, The two session storage are as must be considered separate, not affecting each other in any way.
Will the session cookie be the same as the one in the parent window?
Since cookies are handed over from the server, isn't it dependent on the behavior of the server?
window.open('http://google.com'), the cookie value will not be taken over, right?
© 2022 OneMinuteCode. All rights reserved.