PR : Real Ip address into answer ? reverse proxy

2 weeks 3 days ago - 2 weeks 3 days ago #217952 by gedalsas
Hi guys , hi team LS , hi everyone ! please keep in mind your job and your contributions are really appreciated !
Thank you so much ! LS is a great product with awesome functionalities.
We've been using this software for a while without any problem, and wonder if ip address saved could be more accurate / updated :

Let's say customer ip adress is store at the first time the survey is submitted with IP1. Survey is "tokenized", customer can update results with a link including his(her) token.
If Survey results are updated,

Question 1 :: How about is the state of the ipaddr field when another field is updated by customer ? Would you confirm / inform that the ipaddr field value is updated too ? thx
Another point is LS behind a reverse proxy. For some other websites we use :
$customer_ip = stristr($_SERVER['HTTP_X_FORWARDED_FOR'], ',') ? trim(end(explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']))) : $_SERVER['HTTP_X_FORWARDED_FOR'];
Question 2 :: Could you tell us more about the ip address recognition mecanism when LS behind reverse proxy ? thx

This is just thoughts. Have a nice day ! Go on with this great project !
Last edit: 2 weeks 3 days ago by gedalsas. Reason: code

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now