Welcome Guest, Not a member yet? Register   Sign In
proxy_ips or Why does every visitor to my website have the same IP address?
#1

[eluser]jackbenning[/eluser]
I'm using ci_sessions with the databse option.
I'm on a clustered hosting solution.
ci_sessions is working, but every visitor to my website have the same IP address???
My hosting provider say if I want to get correct client IP address, I need to replace REMOTE_ADDR with: HTTP_X_FORWARDED_FOR

How can I do this in CI? What's the best way?
WIll using proxy_ips in my config file work? If so, how do I use it?


Messages In This Thread
proxy_ips or Why does every visitor to my website have the same IP address? - by El Forum - 04-05-2009, 03:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB