如何在多台服务器上共享Session(PHP/JSP/ASP.NET)以及单点登录(SSO)
Apache Session复制:
http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html
使用Memcached来共享PHP Session:
https://www.digitalocean.com/community/tutorials/how-to-share-php-sessions-on-multiple-memcached-servers-on-ubuntu-14-04
http://www.justincarmony.com/blog/2010/09/15/sharing-sessions-across-multiple-servers-with-memcache/
http://www.bitvolution.com/session-sharing-in-php-the-easy-way
使用Coherence这个工具来共享JSP Session:
https://blogs.oracle.com/muraliveligeti/entry/coherence_session_sharing_between_applications
通过设置session replication 和session sticky来共享多台J2EE服务器集群式的Session共享:
https://code.google.com/p/memcached-session-manager/wiki/SetupAndConfiguration
通过共享session数据文件或者实现一个数据库session处理来共享:
关于共享Session:不同后台存储使用不同的负载均衡策略:
通过WebLogic Session描述符的sharing-enabled配置来共享JEE Web应用程序Session:
通过 Shiro session manager和XAP(Java/.NET)来共享全局HTTP Session:
http://blog.gigaspaces.com/global-http-session-sharing/
http://shiro.apache.org/session-management.html
共享ASP.NET或者ASP应用程序:
http://msdn.microsoft.com/en-us/library/aa479313.aspx
http://www.codeproject.com/Articles/27090/Sharing-Session-Across-Applications
http://forums.asp.net/t/1234883.aspx
http://blogs.lessthandot.com/index.php/webdev/serverprogramming/aspnet/sharing-asp-net-session-state-between-ap/
http://galratner.com/blogs/net/archive/2011/06/01/sharing-memory-session-between-servers.aspx
存储在SQL Server数据库里来共享Session:
存储在Cookies里通过SSO(Single Sign On)来共享数据
http://en.wikipedia.org/wiki/Single_sign-on
http://www.opengroup.org/security/sso/sso_intro.htm
http://www.authenticationworld.com/Single-Sign-On-Authentication/