Welcome Guest, Not a member yet? Register   Sign In
Session and match_ip ignore proxy
#3

(This post was last modified: 03-13-2017, 02:59 PM by gdhnz.)

I've overridden the relevant session driver to set the $CI->input->ip_address() value to a $this->ip_address class variable in the driver constructor and have replaced all instances of $_SERVER['REMOTE_ADDR'] with $this->ip_address.

Is it worth providing a pull request updating all the session drivers?
Reply


Messages In This Thread
Session and match_ip ignore proxy - by gdhnz - 03-13-2017, 01:39 PM
RE: Session and match_ip ignore proxy - by gdhnz - 03-13-2017, 02:59 PM
RE: Session and match_ip ignore proxy - by Narf - 03-13-2017, 03:23 PM
RE: Session and match_ip ignore proxy - by gdhnz - 03-13-2017, 03:29 PM
RE: Session and match_ip ignore proxy - by Narf - 03-14-2017, 03:00 AM
RE: Session and match_ip ignore proxy - by gdhnz - 03-13-2017, 04:18 PM
RE: Session and match_ip ignore proxy - by gdhnz - 03-14-2017, 12:14 PM
RE: Session and match_ip ignore proxy - by Narf - 03-15-2017, 03:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB