• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 549
  • Last Modified:

coldfusion CGI.remote_host alternative?

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
cb_it
Asked:
cb_it
1 Solution
 
Gurpreet Singh RandhawaWeb DeveloperCommented:
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
 
SidFishesCommented:
You could check out cfldap

depending on your setup it may be possible

http://forums.adobe.com/thread/204890
0
 
Gurpreet Singh RandhawaWeb DeveloperCommented:
freak, how i missed that

good catch sid
0
 
cb_itAuthor Commented:
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
 
_agx_Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now