CodeIgniter Forums
Using Laravel with CodeIgniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Using Laravel with CodeIgniter (/showthread.php?tid=55969)



Using Laravel with CodeIgniter - El Forum - 11-19-2012

[eluser]chadtomkiss[/eluser]
Hi guys,

I am starting a new project in Laravel.

However, I need to access certain values from the Session in CodeIgniter.

Is this possible?

Or should I have a controller that echos Session vars as JSON?


Cheers,

Chad


Using Laravel with CodeIgniter - El Forum - 11-19-2012

[eluser]chadtomkiss[/eluser]
It's using the database for storing sessions if that helps.


Using Laravel with CodeIgniter - El Forum - 11-19-2012

[eluser]chadtomkiss[/eluser]
I'm guessing I could use the Session ID from the Cookie and query the DB/unserialize the result.

Although there are some checks against the CI encryption key/last activity etc