Session with different Controlers - 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: Session with different Controlers (/showthread.php?tid=14388) |
Session with different Controlers - El Forum - 12-31-2008 [eluser]The Wizard[/eluser] Hello Friends I've a question. I'm setting up Session Data for a Controller called 'User'. When i try to access the session data from a Controller called 'Remote' i somehow cannot access it without setting it IN the Controller. That has no meaning because i need to access the session the Controller 'User' has set. The session code is in a Model and looks like: Code: function Session_Create( $array_session ) The code for checking the session is like: Code: function Session_Check () Both controls access the same Model but like i sayed, it works only in THE controller, where it is set. If someone can help me, i would be very grateful. Thanks in advance Session with different Controlers - El Forum - 01-01-2009 [eluser]The Wizard[/eluser] anyone an idea? |