Arc Forumnew | comments | leaders | submitlogin
1 point by lark 4292 days ago | link | parent

It doesn't work for me.

(pr req!ip) keeps showing the IP address of the server rather than the IP address of the client.

I need a way of telling clients apart. Perhaps I should be looking at cookies instead.



1 point by akkartik 4291 days ago | link

To plumb the X-Forwarded-For IP to req!ip, try the patch at http://www.arclanguage.org/item?id=11199. (See gotcha #3 at https://sites.google.com/site/arclanguagewiki/arc-3_1/known-...)

-----

2 points by lark 4288 days ago | link

Thanks. It seems this should work with Anarki.

-----