Solved

coldfusion CGI.remote_host alternative?

Posted on 2013-05-24
5
509 Views
Last Modified: 2013-05-28
Coldfusion 10, Windows 2008

Trying to create a help deks for for users and I want the form to contain the users computername.

CGI.remote_host only returns an ip address.

In IIS I installed IP Address & Domain Restrictions, checked on Enable domain name restrictions - nothing, still getting IP address.

Any way to get CGI.remote_host to return the computer name, or any other alternatives to use? Can powershell be used with Coldfusion, maybe some type of WMIobject or something??

Thanks
0
Comment
Question by:cb_it
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 16

Accepted Solution

by:
Gurpreet Singh Randhawa earned 500 total points
ID: 39197408
Not sure but you can try these

open cflib.org to find these UDF's

1. http://cflib.org/udf/browserDetect
2. http://cflib.org/udf/checkHealth
3 .http://cflib.org/udf/AvailableSpace
4. http://cflib.org/udf/FileSystem

or if you have access to cfserver and holds andnot on shared host, you can cfexecute to call the windows system file to return the information
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 39199324
You could check out cfldap

depending on your setup it may be possible

http://forums.adobe.com/thread/204890
0
 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 39199468
freak, how i missed that

good catch sid
0
 

Author Comment

by:cb_it
ID: 39201670
Thanks, fellas. Something like this might be better for what I'm looking for.

http://cflib.org/udf/GetHostName

What I need is the hostname of the computer that the user is actually on when they submit a help desk form. I want the form to submit an email to me and will contain useful info such as the hostname. Users here move around alot from pc to pc.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 39202676
For next time, you should mark that as "the answer", so it's easier to spot :) You can still assign points to others if they helped lead you in the right direction.
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

717 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