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

c++ - list<myClass<int> * > sort -

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

java - why am i getting a "cannot resolve method" error on getApplication? -