[Seaside] ip address

Michel Bany m.bany at wanadoo.fr
Tue Jun 8 07:46:18 CEST 2004


Brian Murphy-Dye a écrit :

> For logging purposes, is there a way to find the ip address of the 
> person visiting your web page?
>
Try this (Squeak only)

    ip := self session currentRequest nativeRequest remoteAddress.

or (VisualWorks)

    ip := self session currentRequest nativeRequest remoteAddr.

> Thanks, Brian Murphy-Dye
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>


More information about the Seaside mailing list