https://blog.csdn.net/wangb_java/article/details/107418160
实现同域
@Bean public CookieSerializer cookieSerializer() { DefaultCookieSerializer serializer = new DefaultCookieSerializer(); serializer.setCookieName("JSESSIONID"); //1 serializer.setDomainName("xxx.com"); //2 serializer.setCookiePath("/"); //3 return serializer; }
标签:setDomainName,DefaultCookieSerializer,session,csdn,serializer,分布式 From: https://www.cnblogs.com/liu0076/p/17325797.html