php - SSO using session -
i have 2 website (www.mainwebsite.com)(community.mainwebsite.com). using 1 server(host) separately in folder , different database, , both have different login form. access both site , add custom code sso. trying using session.save_path on both website.
ini_set('session.save_path',realpath(dirname($_server['document_root']) . '/../session')); session_start();
anyone have idea on want do?
Comments
Post a Comment