Click here to Skip to main content
15,919,341 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi I am working with asp.net.I have two website(Parent.com and child.com) in different servers and both websites having its own login screen I want to provide automatic authenticate for child.com when a user logged in from Parent.com website if the user will trying to open child.com and he is already logged in to the parent.com website then no need to show the login screen of child.com it will automatic authenticate that user and he will able enter the child.com website freely.Please suggest me how would I do that.
Thanks
Prafulla
Posted

1 solution

It is not possible with ASP.NET out of the box.

Forms based authentication is based on a cookie and cookies can only be set to a specific domain.

If you want cross domain (not sub domains) shared authentication, you need a Single Sign On solution.

Have a look at this article Here and here
 
Share this answer
 
v2
Comments
Prafulla Sahu 9-Oct-12 4:45am    
Thanks Allan for your suggestion
Allan Chong 10-Oct-12 3:12am    
It would be great if you can mark this as an accepted answer :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900