Solved

cgi.remote_addr in a cold fusion webservice

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article  is about submitting  form through  ColdFusion.Ajax.submitForm to the action page and send a response back in JSON format which later can be decoded using ColdFusion.JSON.decode. By this way you can avoid the usual page refresh for subm…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now