CodeIgniter Forums
Using Laravel with CodeIgniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Using Laravel with CodeIgniter (/thread-55969.html)



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