Using existing session data from a non-CI website in a CodeIgniter website - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Using existing session data from a non-CI website in a CodeIgniter website (/showthread.php?tid=68977) Pages:
1
2
|
RE: Using existing session data from a non-CI website in a CodeIgniter website - happyape - 09-23-2017 Yes I agree with security part so that's why I going through all the hassle above i.e. I am trying to migrate my non-CI website to CI. I need access to same session data across both sites until I develop the CI site. It will be a slow process but once I have migrated all the functionality then I'll switch off the non-CI site. I'll take a look at your code too. Thank you again for your input Brian. RE: Using existing session data from a non-CI website in a CodeIgniter website - InsiteFX - 09-24-2017 Cookie domain, for example 'www.php.net'. To make cookies visible on all subdomains then the domain must be prefixed with a dot like '.php.net'. Good reads, but may not be secure you decide. Sharing session data across domains with PHP Using PHP sessions across subdomains |