Link to home
Start Free TrialLog in
Avatar of cb_it
cb_itFlag for United States of America

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of Coast Line
Coast Line
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You could check out cfldap

depending on your setup it may be possible

http://forums.adobe.com/thread/204890
freak, how i missed that

good catch sid
Avatar of cb_it

ASKER

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.
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.