Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Using real client ip behind a proxy in Session driver
Post: RE: Using real client ip behind a proxy in Session...

Ok I've found a better solution, I think it's more a "hack" than a solution but it works. I add this on top of my index.php PHP Code: -- $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_REAL_IP']; -- H...
9,998 Views
3 Replies
02-18-2016, 08:49 AM
remiheens
    Thread: Using real client ip behind a proxy in Session driver
Post: RE: Using real client ip behind a proxy in Session...

kilishan Wrote: (02-18-2016, 08:16 AM) -- I might be confused, as dealing with proxy's isn't something I've had a whole lot of experience with, but I believe the Input class' ip_address function will...
9,998 Views
3 Replies
02-18-2016, 08:19 AM
remiheens
    Thread: Using real client ip behind a proxy in Session driver
Post: Using real client ip behind a proxy in Session dri...

Hi, I'm creating a login library to manage session on my website. But I've seen that drivers use $_SERVER['REMOTE_ADDR'] so when running CI behind a proxy (nginx proxy_pass query to apache) the $...
9,998 Views
3 Replies
02-18-2016, 07:59 AM
remiheens
    Thread: Best secure session configuration ?
Post: RE: Best secure session configuration ?

nobody wants to share his experience?
3,920 Views
2 Replies
02-18-2016, 07:30 AM
remiheens
    Thread: Best secure session configuration ?
Post: Best secure session configuration ?

Hi, I'm developing a website with lot of users(500K) and lots of daily sessions. I recently upgrade CI to version 3, so I've seen session management change to files driver (as default) and write s...
3,920 Views
2 Replies
02-09-2016, 10:24 AM
remiheens

Theme © iAndrew 2016 - Forum software by © MyBB