in reply to Cookie Domain

Only if the two sites share the same domain. (Or if you're using Internet Explorer, though that doesn't fulfill the second part of your question. It's a security hole.)

You can set domain=.myserver.com and it should be accessible to foo.myserver.com and bar.myserver.com, at least according to Cookie Central.