Welcome Guest, Not a member yet? Register   Sign In
Set session expiration time based on user role in CodeIgniter 4
#2

If you are using Shield, you can do it by extending Session Authenticator, then adjust the startLogin() method. inside that method there is a setSessionUserKey(), which is where the user session is written. you can modify it with setTempdata().
@xxxx[{::::::::::::::::::::::::::::::::>
Reply


Messages In This Thread
RE: Set session expiration time based on user role in CodeIgniter 4 - by warcooft - 04-11-2025, 02:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB