I have changed the
session_save_path of session files to a same location on both of the sites and I can see the session files generated in this directory. I have noticed the below -
If session ID is 5656adfasdfa564654654656 and cookie name in CI (
$config['sess_cookie_name']) is "mysess" the session file generated by CI is
mysess5656adfasdfa564654654656
Whereas is the file generated by non-CI website is named as
sess_5656adfasdfa564654654656
I have learnt that sess_ is hardcoded? I think If I can make these file names as the same then I would be able to use the same session data (I hope).