web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

how to get client host name in citrix farm at AX 2009

(0) ShareShare
ReportReport
Posted on by 35

 host = System.Net.Dns::GetHostByAddress(Request.ServerVariables.Item("REMOTE_HOST"))

 

This line of coding is for .net.

I tried in x++ but failed, because AX webRequest doesn't have serverVariables method...

I google everywhere but didn't find solution.

My company would have to find 350 terminal computer host name when client session. Without citrix, it is easy to use xSession or winAPI. But in Citrix farm, those methods would bring citrix server name back, instead of true phycially client name in networks...

If anyone has this experience, highly appreciate your help. Right now, we have to unique terminal AXC file and point 350 AXC client configuration file per client through 'sysStartUpCmd' to bring that termianl ID back.. We want to directly use client host name.

please reply to sisbio@hotmail.com if you have... it is really emergency call.

Thanks,

 

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,904 Most Valuable Professional on at

    As far as I know, Request is an ASP.NET object filled from HTTP headers. If you ask about AX client, you don't have any HTTP requests available, therefore the same approach is not possible.

    Try to look at Windows' environmental variable called "CLIENTNAME". If it doesn't help, search Web for WFAPI or such things (I don't have any own experience with it).

  • Jun Zeng Profile Picture
    35 on at

    Thank you so much for your hints. Fellow your hints, I found this

    community.citrix.com/.../How+to+get+Client+IP+and+hostname+using+Citrix+WFAPI+SDK

    Creating DLL and call this DLL in AX application to bring that client host computer name might be solution for us.

    And a developer answered and said that GOAL::APP might work to identify local computer name from all IP address in citrix server...

    Not sure yet. Now give it a try...Will back here if I can make it happen and post coding if future other developer need this only for Axapta...

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans