Welcome Guest, Not a member yet? Register   Sign In
Why can't I do this in CI?
#4

[eluser]skunkbad[/eluser]
I'm astonished that this code would work outside of CI. Perhaps your definition of "work" may be different than mine.

1) Why would you feel the need to create your own session class when CI has one? It is very flexible and can be used with cookies or a database table. Even using PHP's $_SESSION would be better than creating your own.

2) Why not use one of multiple authentication libraries that are available? Community Auth, Ion Auth, Freak Auth, DX Auth, AG Auth, etc, etc. If you intend to put your application on a production server and have real users that expect their data to be secure, you need to abandon your code. Any kindergarten hacker would hack your site in 2 seconds.


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



Theme © iAndrew 2016 - Forum software by © MyBB