views:

14

answers:

0

Hi. I have my site setup like this:

www.mysite.com subdomain.mysite.com (configured as an application)

I then registered another domain, lets call it www.myothersite.com which redirects to subdomain.mysite.com using masking so that the address always remains www.myothersite.com/...

Within the subdomain site I have a forms authentication page which users can use to login with. The problem I am having is that once deployed the cookie isn't being set. What happens is that if the user goes to www.myothersite.com/users/login it will not work. if they go to subdomain.mysite.com/users/login it will work.

I have tried adding the domain property to the cookie with the same results. Its obviously something to do with the way the www.myotherdomain.com is working, but I am not sure what I need to do in order to get this working the way I would like it.

Thanks!