Solved

coldfusion CGI.remote_host alternative?

Posted on 2013-05-24
5
492 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
5 Comments
 
LVL 15

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 15

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

912 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

20 Experts available now in Live!

Get 1:1 Help Now