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

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -