I'm going to setup an addon domain to my primary domain so i can share databases (ie logins) for both domains.
Since the addon domain is just a subdirectory of the primary, could i call a function in a script located in the primary domain (parent directory = public_html) that checks if a cookie is set for the primary domain and send that info back to the addon domain?
I'm not sure how the browser or apache will treat the domain when its crossing the two domains, meaning will the browser think that its still in the addon domain when its executing the script to get the cookie? If so, it probably wont give me access to the cookie information.
Basically i want users to seamlessly transfer between domains, so that they dont have to login in both areas.