Steve Lister 6.Nov.07 10:51 PM a Web browser Domino Server7.0.2Linux - SuSE
I am attempting to access the REMOTE_ADDR via javascript. In the JS Header is: var iprem='<!--#echo=var="REMOTE_ADDR"-->'. Then on the page is some javascript to print what is in iprem to the screen. If I convert to a string I get [Object Window]. If I just display the raw variable nothing is displayed. I checked the source code in the browser and it shows the javascript to be correct. The browser's javascript console shows no error.
If I use a field and name it REMOTE_ADDR I get a proper display in the field. This is fine for me but won't work for customers that are writing non-notes apps.
Is there something that can be done to fix this or is it a limitation of the Notes Servers?
Thanks for any help.
Steve