Welcome Guest, Not a member yet? Register   Sign In
IDEA: Centralized userId
#2

Store where?

CI has always been pretty adamant about not having an authentication lib because they don't want to be that opinionated. It's pretty simple to store the user_id in the session, redis, database, or wherever you want. If you're looking for an overall authentication library that handles the current user state, I'd take a look at https://community-auth.com/ (Note, i've never used it but i know a lot of people have)
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
Reply


Messages In This Thread
IDEA: Centralized userId - by MGatner - 04-05-2019, 05:03 AM
RE: IDEA: Centralized userId - by albertleao - 04-05-2019, 07:22 AM
RE: IDEA: Centralized userId - by MGatner - 04-05-2019, 11:33 AM
RE: IDEA: Centralized userId - by dave friend - 04-05-2019, 04:00 PM
RE: IDEA: Centralized userId - by MGatner - 04-05-2019, 06:37 PM
RE: IDEA: Centralized userId - by mmx - 01-29-2020, 12:19 AM
RE: IDEA: Centralized userId - by ciadmin - 06-12-2019, 05:47 PM
RE: IDEA: Centralized userId - by MGatner - 06-16-2019, 11:36 AM
RE: IDEA: Centralized userId - by MGatner - 06-17-2019, 06:52 AM
RE: IDEA: Centralized userId - by tony.a - 10-17-2019, 04:01 AM
RE: IDEA: Centralized userId - by AndreiCurelaru - 10-17-2019, 05:08 AM
RE: IDEA: Centralized userId - by InsiteFX - 10-17-2019, 03:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB