y393791327
y393791327
2016-06-02 09:20

memcache是否可以跨域共享session

10

两台服务器在不同网段,如何用Memcached 配置tomcat达到session共享

 <Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"  
            memcachedNodes="n1:10.225.80.123:11211,n2:10.225.83.38:11211"  
            sticky="false" 
            lockingMode="auto" 
            sessionBackupAsync="false"   
            sessionBackupTimeout="1000"  
            requestUriIgnorePattern=".*/.(png|gif|jpg|css|js)$"   
            transcoderFactoryClass="de.javakaffee.web.msm.serializer.kryo.KryoTranscoderFactory"  
        /> 
  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答