?
Solved

coldfusion CGI.remote_host alternative?

Posted on 2013-05-24
5
Medium Priority
?
515 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 2000 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

Create CentOS 7 Newton Packstack Running Keystone

A bug was filed against RDO for the installation of Keystone v3. This guide is designed to walk you through the configuration for using Keystone v3 with Packstack. You will accomplish this using various repos and the Answers file.

Question has a verified solution.

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

Hi, I will be creating today a basic tutorial on how we can create a Mail Custom Function and use it where ever we want. The main advantage about creating a custom function is that we can accommodate a range of arguments to pass to the Function and …
Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

764 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