Welcome Guest, Not a member yet? Register   Sign In
Session Match IP False No Working
#1

Hello. We are using CI3 and using a MySQL database for our sessions. We have "$config['sess_match_ip'] = false;" set in our config.php file, and have confirmed this config variable value via the "$this->config->item('sess_match_ip')" check. The database table to store sessions only has the "id" as a primary key (so "ip_address" is not factored into the session key). With this, our site still acts as if it's considering IP address when checking for a valid session, as users that have a rotating IP address get our "session timeout" screen after they have logged in and click through pages. We have confirmed this with several different users that see their IP addresses change when they check. We've added logging to the framework's Session.php and Session_database_driver.php files that reference the "sess_match_ip" or "match_ip" parameters, but none seem to be firing when they should not be. Anything else we can check or debug to figure this out? Thanks.
Reply


Messages In This Thread
Session Match IP False No Working - by kft101 - 01-23-2023, 09:59 AM
RE: Session Match IP False No Working - by kft101 - 01-24-2023, 11:09 AM
RE: Session Match IP False No Working - by kft101 - 01-25-2023, 01:33 PM
RE: Session Match IP False No Working - by kft101 - 01-26-2023, 10:56 AM
RE: Session Match IP False No Working - by kenjis - 01-26-2023, 07:37 PM
RE: Session Match IP False No Working - by kft101 - 01-30-2023, 01:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB