Cómo acceder al valor de la sesión pasada al subdominio

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