![]() |
Why would you use CI session class over php sessions? - 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: Why would you use CI session class over php sessions? (/showthread.php?tid=25574) Pages:
1
2
|
Why would you use CI session class over php sessions? - El Forum - 12-16-2009 [eluser]jv2222[/eluser] Hi, I'm just wondering why you would use CI sessions over php sessions what advantage would it give you? Cheers, Justin Why would you use CI session class over php sessions? - El Forum - 12-16-2009 [eluser]stuffradio[/eluser] This has been asked many times, do a search in the database. One thing you can do is use the database to store your session data. Just do a quick search and you'll find your answer of the advantages! Why would you use CI session class over php sessions? - El Forum - 12-16-2009 [eluser]jv2222[/eluser] I did search was unable to find. Any hints on a search term to find these threads? Cheers, Justin Why would you use CI session class over php sessions? - El Forum - 12-16-2009 [eluser]jv2222[/eluser] I don't quite get why you would use the database to store session data vs php native filesys session handeling. Isn't that quite resource intensive, for minimal gain? Just trying to clarify if I've missed out on a big benefit. Why would you use CI session class over php sessions? - El Forum - 12-16-2009 [eluser]stuffradio[/eluser] Here are a few pages http://ellislab.com/forums/viewthread/136538/ http://ellislab.com/forums/viewthread/130577/ http://ellislab.com/forums/viewthread/129381/ Why would you use CI session class over php sessions? - El Forum - 12-16-2009 [eluser]jedd[/eluser] Look for any post by mrbinky3000 - he populated quite a few threads with complaints about CI sessions. In general the answer you're looking for is 'because they're easier, bigger, and possibly something else too'. Why would you use CI session class over php sessions? - El Forum - 12-16-2009 [eluser]jv2222[/eluser] [quote author="stuffradio" date="1261031343"]Here are a few pages http://ellislab.com/forums/viewthread/136538/ http://ellislab.com/forums/viewthread/130577/ http://ellislab.com/forums/viewthread/129381/[/quote] Ahh, the fish but not the fishing rod... But seriously thx, it's helped to explain the issue ![]() Why would you use CI session class over php sessions? - El Forum - 12-16-2009 [eluser]jedd[/eluser] [quote author="jv2222" date="1261031937"] But seriously thx, it's helped to explain the issue ![]() Well, you're ahead of me then. I still don't know what the issue actually is (or was). Why would you use CI session class over php sessions? - El Forum - 12-16-2009 [eluser]jv2222[/eluser] [quote author="jedd" date="1261031800"]Look for any post by mrbinky3000 - he populated quite a few threads with complaints about CI sessions. In general the answer you're looking for is 'because they're easier, bigger, and possibly something else too'.[/quote] LOL @ "possibly something else too" Why would you use CI session class over php sessions? - El Forum - 12-16-2009 [eluser]jedd[/eluser] Well .. come on. If you haven't read the actual [url="/user_guide/libraries/sessions.html"]Session Class[/url] page in the user guide before asking, then you are deserving of a poke in the eye with a blunt stick. And if you have read it, then you'll have seen a few reasons why CI sessions are better than native PHP sessions. |