两个网站如果要用redis共享SESSION的话,那么这两个网站的域名必须这样配置吗?
比如 www.test.com 另外一个是 test.com的,必须采用这样的域名吗?要让 .test.com的cookie 同时让两个网站能读取,这样理解对吧
No need, that is required for use in js
Shared sessions must have the same top-level domain name
Saving sessions in redis only changes the medium for storing sessions, and has nothing to do with the domain name.
No need, that is required for use in js
Shared sessions must have the same top-level domain name
Saving sessions in redis only changes the medium for storing sessions, and has nothing to do with the domain name.