![]() |
Multiple sessions problem... - 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: Multiple sessions problem... (/showthread.php?tid=33038) |
Multiple sessions problem... - El Forum - 08-13-2010 [eluser]Wonder Woman[/eluser] I have a controller which sets submitted form data into a session, however the first one works but the other three are undefined...any ideas? Code: $search_radius = $this->input->post('search_radius'); Is it to do with memory? Or do I need some sort of multiple session library? Thanks Multiple sessions problem... - El Forum - 08-13-2010 [eluser]bretticus[/eluser] [quote author="fpp" date="1281726817"] Is it to do with memory? Or do I need some sort of multiple session library?[/quote] Depends on whether you are storing the session data in a cookie. If so, cookies can only hold 4k of data. If you need to store more data in a session, turn on database session functionality and store it in your DBMS. Multiple sessions problem... - El Forum - 08-16-2010 [eluser]Wonder Woman[/eluser] Yes this is what I am doing and I have checked the database and they are definitely being stored. Its just weird how the first one "search_radius" is working but the other 3 aren't. Any ideas? It says that they're undefined... Multiple sessions problem... - El Forum - 08-16-2010 [eluser]Wonder Woman[/eluser] I've fixed it, thanks anyway. |