简体   繁体   中英

window.name as an alternative to cookie

I require to store unique data for each tab/window of the same session hence I cannot use cookies. Also these days chrome appears to retain session cookies across restarts of browser. So I am using window.name as the way to store the required data.

My use of window.name is with in a script that can be embedded by others. So I would like to know which other libraries use window.name (I believe its used for cross domain data transport)?

window.name不会在现代浏览器的不同域中保留,因此已被放弃用于跨域数据传输。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM