I want to use same directory (for 2 project) for codeigniter "files" session driver. Both projects are in same server.
project 1 save path settings
$config['sess_save_path'] = APPPATH.'session_data';
project 2 save path settings
$config['sess_save_path'] = $_SERVER['DOCUMENT_ROOT'].'/project1/application/session_data';
This is working locally but not working in production server. Whats wrong there? My "session_data" directory permission is "755". 777 tested but not work
In simple write the same value for both the files in config.php
I did and getting my output like move from one project to another project using same session.
Suppose you need to create two different project having different session then change the value of given above variables.