Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
2 Points
2 Posts
Oct 20, 2009 09:19 AM|LINK
Seems that you are trying to achieve Single-SignOn for your websites.
If both web sites are in the same domain level, for e.g:-
- http://site1.domain.com
- http://site2.domain.com
you can still achieve that using the ASP.NET Forms Authentication.
(see: http://www.codeproject.com/KB/aspnet/SingleSignon.aspx)
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.
alexflp
Member
2 Points
2 Posts
Re: How to share session between two web sites hosted on two different web server without web far...
Oct 20, 2009 09:19 AM|LINK
Seems that you are trying to achieve Single-SignOn for your websites.
If both web sites are in the same domain level, for e.g:-
- http://site1.domain.com
- http://site2.domain.com
you can still achieve that using the ASP.NET Forms Authentication.
(see: http://www.codeproject.com/KB/aspnet/SingleSignon.aspx)
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.