如何在多台伺服器上共用Session(PHP/JSP/ASP.NET)以及單點登入(SSO)

來源:互聯網
上載者:User

標籤:負載平衡   session   tomcat   weblogic   sso   

如何在多台伺服器上共用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處理來共用:


http://stackoverflow.com/questions/16243450/share-a-session-across-multiple-servers-with-different-domains

 

關於共用Session:不同後台儲存使用不同的負載平衡策略:


http://serverfault.com/questions/32421/how-is-session-stickiness-achieved-across-multiple-web-servers

 

通過WebLogic Session描述符的sharing-enabled配置來共用JEE Web應用程式Session:


https://technology.amis.nl/2012/01/18/sharing-session-state-between-jee-web-application-through-weblogic-session-descriptor-of-sharing-enabled/

 

通過 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:


http://www.developer.com/net/asp/article.php/3595766/Storing-Session-State-in-a-SQL-Server-Database.htm

 

儲存在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/

如何在多台伺服器上共用Session(PHP/JSP/ASP.NET)以及單點登入(SSO)

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.