in default website i have 2 asp.net web application App1 and App2.both has same login control when user logins username and password is validated in users table in sql database.logined user information are stored in 3 session variables. after login app1 redirects to profile.aspx and app2 redirects to dashboard.aspx. profile.aspx has a link app2 and dashboard.aspx has link app1.if user clicks on the link he should be already login for that application. if user logout from any one application he should get logout for both application.
how to put above sso feature in my App1 and App2