Forms Authentication with Subdomains - Cookie cannot be read

K

Kaedarn

I have a few sites set up (mysite.com, forums.mysite.com, support.mysite.com)
that use ASP.Net 2.0 Forms Authentication to control access to the secured
sections of the sites. The machinekey/forms info etc is identical between the
sites. The cookie domain is set to ".mydomain.com". They all share a common
cookie name.

This all worked beautifully for the last few months until late last week it
suddenly stopped working. To make the problem even more difficult to diagnose
- on occasion (about 5-10% of the time) you can log in sudcessfully to all of
the sites.

It seems that the authentication cookie cannot be read by the sub-domains
but I'm not sure why that is. If anyone has any advice or can point out
something I may be doing wrong the assistance would be greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top