Forum Moderators: coopster
mydomainAAA.org
mydomainBBB.org
mydomainCCC.org, etc
...onto one server so that there is only ONE main domain. I'm deciding whether to use subdomains:...
AAA.mydomain.org
BBB.mydomain.org
CCC.mydomain.org
...or directoris:
mydomain.org/AAA/
mydomain.org/BBB/
mydomain.org/CCC/
Ideally, I'd use subdomains, but I have some concerns with my vision for a global user login scheme. I want there to be one login area, but I'm concerned PHP will not transfer my $_SESSION vars accross subdomains. Is this true? If true, could this scheme work with cookies? I've never used cookies and am somewhat intimidated.
Anyone have experience with this? Please advise.
Is this true?
well, try it.. try to find whether it's true or not instead of waiting here to read from someone , the best is what you discover youself..
anyway, I dont think that it will break the session while browsing different subdomains, cookies are a good way to handle this if SESSION would give problem bcz with cookies you create a file on the users system and you can read it anytime anywhere you want but keep in mind that sometimes people disable cookies for security reasons,
to work with cookies is very easy it is just 'write and read'
study this awesome and simple tutorial [phpfreaks.com...]
by the way, make sure you will not kill your SE ranks for the domains you are going to merge into a single domain...
Best of luck! :)