• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why can't I do this in CI?

#7
[eluser]CroNiX[/eluser]
Aken's correct. You have no storage mechanism for your sessions, which aren't really sessions at all - by definition. What you've created is a way more limited and mini version of CI's Config class, which also doesn't hold values between pages. Only for the current request and then it gets deleted from memory as all of the rest of the variables are destroyed.

I'm not sure why you would really want to use CI, if you're not really going to use CI. CI has sessions with multiple options for storage, and many other useful classes. That's the point of a framework. Most of the basics for what you need to create a website or application is already in the framework so you don't have to reinvent the wheel, and save a lot of time in the process.


Messages In This Thread
Why can't I do this in CI? - by El Forum - 07-11-2012, 02:25 PM
Why can't I do this in CI? - by El Forum - 07-11-2012, 10:16 PM
Why can't I do this in CI? - by El Forum - 07-11-2012, 11:37 PM
Why can't I do this in CI? - by El Forum - 07-11-2012, 11:42 PM
Why can't I do this in CI? - by El Forum - 07-11-2012, 11:55 PM
Why can't I do this in CI? - by El Forum - 07-11-2012, 11:57 PM
Why can't I do this in CI? - by El Forum - 07-12-2012, 12:44 AM
Why can't I do this in CI? - by El Forum - 07-12-2012, 05:44 PM
Why can't I do this in CI? - by El Forum - 07-12-2012, 06:41 PM
Why can't I do this in CI? - by El Forum - 07-12-2012, 07:13 PM
Why can't I do this in CI? - by El Forum - 07-12-2012, 07:33 PM
Why can't I do this in CI? - by El Forum - 07-12-2012, 08:41 PM
Why can't I do this in CI? - by El Forum - 07-12-2012, 08:44 PM
Why can't I do this in CI? - by El Forum - 07-12-2012, 09:32 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.