App Dev with Citrix

Hello folks,

I am building an application that makes use of third party tools to manipulate files before importing them into a Domino database. As part of the manipulation I write the updated files to the windows Temp folder based on the registry key settings on the users local machine. I am now rolling out the application to users who use Notes from Citrix and the windows Temp folder is not accessible to these users. I want to write the code to determine if the user is using the Notes client via a Citrix session or not and then choose a temp folder based on these findings. The problem I am having is that I don’t know how to tell if I am running on Citrix or not. Does anyone know of a way to make this determination. A work around I am using is to have the Citrix administrator put a dummy file in the notes/data folder that would never exist (i.e. citrix.txt) and look for that file. I would really rather not have to do something like this. Any help would be greatly appreciated.

Cheers,

Mark

Subject: App Dev with Citrix

In Citrix/Terminal Server environment you can use the “CLIENTNAME” system variable. If it exist or <> “” your Lotus Notes client isn’t a local application.