Cross Domain Cookies With FormsAuthentication?

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

It is not possible with out of the box ASP.NET. Forms based authentication is based on a cookie and cookies can only be set to a specific domain. If you want true cross domain (not sub domains) shared authentication, you need a Single Sign On solution.

I've rolled my own and it's relatively simple. The basic principle is that you have a master domain which holds your authentication cookie (ticket). You then redirect to that domain from all other domains.It's not really pretty, but event Microsoft Passport worked that way.

You can find a lot of examples on the net, take a look at these two links: Authentication cookies Cross domain authentication.

Not only with ASP. Net is this not possible, but not at all. Cookies are always domain-specific - no commercial browser will work any other way.

This is by design and very much necessary to prevent widespread abuse of cookies. Muerte pointed you into the right direction (single sign-on).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions