How to share session between two web sites hosted on two different web server without web farmhttp://forums.asp.net/t/1483162.aspx/1?How+to+share+session+between+two+web+sites+hosted+on+two+different+web+server+without+web+farmTue, 20 Oct 2009 09:19:29 -040014831623466563http://forums.asp.net/p/1483162/3466563.aspx/1?How+to+share+session+between+two+web+sites+hosted+on+two+different+web+server+without+web+farmHow to share session between two web sites hosted on two different web server without web farm <p>Dear Guru, I want to share session between two web site developed in ASP.net. Same web sites hosted on two different web server. I want store some value in session using one website and retrieve the same session value on another web site. I know it's possible if I use web farm and load balancing . But I don't want to use web farm. I have tried to use session mode sql server , state server. But still I did not get any success .If is there any solution for this .Please let me know. Please tell me any idea to solve this problem. One more thing I don't want to use two virtual directory (Like parent Child). Thanks &amp; Regards Rajesh</p> 2009-10-20T06:37:54-04:003466616http://forums.asp.net/p/1483162/3466616.aspx/1?Re+How+to+share+session+between+two+web+sites+hosted+on+two+different+web+server+without+web+farmRe: How to share session between two web sites hosted on two different web server without web farm <p>Check these posts:</p> <p>http://stackoverflow.com/questions/1531319/how-to-access-same-session-in-two-websites</p> <p>http://forums.asp.net/t/1478697.aspx</p> <p><br> </p> 2009-10-20T07:04:42-04:003466638http://forums.asp.net/p/1483162/3466638.aspx/1?Re+How+to+share+session+between+two+web+sites+hosted+on+two+different+web+server+without+web+farmRe: How to share session between two web sites hosted on two different web server without web farm <p>http://www.google.co.in/search?hl=en&amp;source=hp&amp;q=sharing&#43;sessions&#43;.net&amp;btnG=Google&#43;Search&amp;meta=&amp;aq=&amp;oq=sharing&#43;sessions&#43;.ne</p> 2009-10-20T07:17:27-04:003466880http://forums.asp.net/p/1483162/3466880.aspx/1?Re+How+to+share+session+between+two+web+sites+hosted+on+two+different+web+server+without+web+farmRe: How to share session between two web sites hosted on two different web server without web farm <p>Seems that you are trying to achieve Single-SignOn for your websites.</p> <p>If both web sites are in the same domain level, for e.g:-</p> <p>- http://site1.domain.com</p> <p>- http://site2.domain.com</p> <p>you can still achieve that using the ASP.NET Forms Authentication.</p> <p>(see: http://www.codeproject.com/KB/aspnet/SingleSignon.aspx)</p> <p>But if you are not in the same domain level, I think it's best you use SQL Server Session States or write your custom session provider to DB.<br> </p> 2009-10-20T09:19:29-04:00