PostNuke

Flexible Content Management System

News

Single Login to a Multisite

Contributed by on Aug 10, 2004 - 06:53 PM

1. Backup each file you edit before proceding.

2. In your multisite configuration, edit each pntables.php for each multisites under your parameters/sub.domain to share nuke_session_info, e.g.
$session_info = 'nuke_session_info';
2. Edit includes/pnSession.php and search for session.cookie_domain and you will find the line:
ini_set('session.cookie_domain', $domain);
which I changed to
ini_set('session.cookie_domain', 'postnuke.com');
3. Flush the nuke_session_info table in your database deleting all current session records.

In the 0.8 series we will revisit the multisite system making the system easier to administer.



Good luck :)
7014