PHP sessions across subdomains
If you are facing problems sharing sessions across subdomains, use the following code before session_start().
ini_set ( 'session.cookie_domain', '.mysite.com' );
Replace mysite.com with your domain name.
If you are facing problems sharing sessions across subdomains, use the following code before session_start().
ini_set ( 'session.cookie_domain', '.mysite.com' );
Replace mysite.com with your domain name.
The last release of PHP 4 is now available for download on 7th of August 2008. PHP 4 has been serving the web sites since 2000.