Solved

cgi.remote_addr in a cold fusion webservice

Posted on 2010-08-19
2
693 Views
Last Modified: 2012-05-10
Hello

I have a webservice which needs to validat the calling ip address, cgi.remote_addr returns the server ip as the client.

How can i get the calling ip address

thanks

stu
0
Comment
Question by:stucal
2 Comments
 

Author Comment

by:stucal
ID: 33483518
anything guys?
0
 
LVL 9

Accepted Solution

by:
Shaun McNicholas earned 500 total points
ID: 33483634
Do a <cfdump var="#CGI#">

then see which of those variables returns the value your looking for - if none of them does then you'll need to look at some other platform for you values. I had an issue with a server not returning the right values and had to revert to a javascript version of the variables. But see if the dump gets you anything close to what you are looking for first.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Radio button validation in ColdFusion and returning focus 1 592
Coldfusion Report Builder HTML table 2 73
query of query sort 6 112
Coldfusion Mysql get data from two tables 3 100
The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question