Forum Moderators: coopster
the sessions can be inserted and maintained in a single database and all the sites could use that, you would still need to figure out a way to recognize them
once they had a cookie for each domain you would be fine, just use the same session but they have multiple cookies
not sure what the best way to approach it would be
you could try setting a cookie for another domain, if it worked you wouldn't be able to access it but it would be set and usable on the other domain
not sure what the best way to approach it would be
I would agree that multiple cookies using a shared database would be the approach, as you said. I would probably encrypt the cookie value (which might be the userid and username or some other unique data) as well as incorporate a secret key that is stored on the server outside the document root.
There are alternative solutions for certain web servers that accommodate SSO (Single Sign On), but most that I have worked with are processor intensive and literally worthless. The encrypted cookie technique works fine.