Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Obtaining Winterm Name from a Web Application

Status
Not open for further replies.

JPdev

Programmer
Mar 30, 2004
8
GB
Hi,

I'm fairly new to developing Web Applications (this being my first) and I need some help with a tricky problem.

I have a web application running on our intranet which queries a database every 30 seconds and displays the output in a Datagrid. I have set a password on the page using IIS and this all works fine.

However to further limit access it needs to only run on particular workstations. The trouble all the users will be going through Citrix via WinTerms. I need to restrict access down to a few specific WinTerms but I have no idea of how to extract the WinTerm name. I think it should be held as an environment variable on the Citrix Server under CLIENTNAME but I don't know how to extract this from a web application running on a different server.

I have so far managed to extract the RemoteHost IP of the Citrix Server but have got no further.

I wonder is there anyway of using this
System.Environment.GetEnvironmentVariable("COMPUTERNAME")
to extract info from the client rather than the server.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top