S        This expression returns the IP address of the client whose request is currently being processed.

You should only be reading it in an On XXX request event.