Welcome Guest, Not a member yet? Register   Sign In
Using existing session data from a non-CI website in a CodeIgniter website
#4

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).
Reply


Messages In This Thread
RE: Using existing session data from a non-CI website in a CodeIgniter website - by happyape - 09-23-2017, 06:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB