Can I change the session timeout dynamically? The timeout must be set according to the user role. I tried to use configure::write to change the timeout dynamically but it doesn’t work. it seems that for the new session timeout to take efect, you have to reset the session, but resetting the session will loss the login info.
Can I change the session timeout dynamically? The timeout must be set according to
Share
I think using something like the following after you check role membership will get you what you want.