CodeIgniter session behind proxy
问题 What happens when you don't have a list of proxy IPs? When using site acceleration services like Akamai, Google, Edgecast or CloudFront; it would always be hard to get IPs for sessions from them. When testing our codeigniter application on a CDN, we noticed that IPs were being passed as CDN IPs and not the client IPs in the session database. How can you get around to this? /* |-------------------------------------------------------------------------- | Reverse Proxy IPs |---------------------