Single sign-on or login allows user to login from one site or another and authentication happens only once per active session. Without this mechanism, it would be annoying to the user whenever he wants to switch between website and prompted again to login.
In ASP.NET, to implement single sign-on or login between websites on same domain with different subdomain, do the following: