两个网站如果要用redis共享SESSION的话,那么这两个网站的域名必须这样配置吗?
比如 www.test.com 另外一个是 test.com的,必须采用这样的域名吗?
要让 .test.com的cookie 同时让两个网站能读取,这样理解对吧
阿神2017-04-25 09:04:43
Saving sessions in redis only changes the medium for storing sessions, and has nothing to do with the domain name.