Comment accéder à la valeur de session passée au sous-domaine
You need to use same php.ini for main domain and subdomain and make sure the save path for sessions i.e session.save_path
needs to be the same to share sessions.
Homeless Hamster