1. Documentation /
  2. Multiple installs on one domain + SESSIONS (conflict/session sharing workaround)

Multiple installs on one domain + SESSIONS (conflict/session sharing workaround)

If you are running multiple installs of WordPress on the same domain, and SESSIONS are being shared between your installs you can add the following to your wp-config.php file to prevent this from occurring:
if ( ! session_id() ) {
	session_name( 'PHPSESSID_1' );
}
You can change the name to something unique for each install.