On Wed, Nov 12, 2014 at 5:02 PM, Johan Brichau <
[hidden email]> wrote:
> Hi David,
>
> This is info that is being sent along with the request headers.
> In Seaside, you can access the WARequest instance with “self requestContext request”.
>
> The info you are looking for is in the 'User-Agent’ header.
> The source IP is in there as well, but I don’t know that header name by heart.
The selector is #userAgent. If you're behind a reverse proxy the
headers are 'x-forwarded-for' or 'forwarded-for' depending on the
server.
Note the user agent string is horribly underspecified.
Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside