Solved

cgi.remote_addr in a cold fusion webservice

Posted on 2010-08-19
2
684 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

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 …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

792 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