[fpc-pascal] fcl-web: Trequest.RemoteAddr is empty (sometimes)
Luca Olivetti
luca at ventoso.org
Thu Jan 7 16:15:33 CET 2021
Hello,
I need to tailor the content based on the remote ip address.
I use the property RemoteAddr of a TRequest, but sometimes it is empty.
I see that it is a header, what I didn't see (yet, I'll trace through
the code later) is if it is sent from the remote host or is it filled
based on the ip address of the connection.
If the former, is there a more reliable way to obtain the connected ip
address?
If the latter is it a bug?
Bye
--
Luca
More information about the fpc-pascal
mailing list