We have multiple clones of our main shop at www.mainsite.com for testing and developing.
e.g. test.mainsite.com, fbk.test.mainsite.com and isk.test.mainsite.com,
There is a big issues with the cookies...
Users can't work in all test sites at the same time (Frontend and Backend). They first have to delete all other cookies from the other domains before they can login.
The cookie domain is matching the domain name on every domain, on mainsite.com the cookie domain is
mainsite.com on test.mainsite.com the cookie domain is
test.mainsite.com and so on...
The cookie path is set to