Information générale
Catégorie:
Produits tierce partie
Todd,
We do a lot of work under terminal server and Kelly Conway's method is the best for what you want to do. Even if you don't use the API call, a simple call to GETENV("TEMP") will give you the correct, unique temp directory that is assigned to all TS users. A folder with the users session ID is added to standard TEMP environmental variable and all temp files can be created there. In our case, we also make sure the setup for TS is such that these directories are emptied and removed as the user logs off.
As a side note, unless you change the default setup, there will be spaces in the path to the temp folder, so make sure to program to allow for this.
Bill
>We have a major application and it users the c:\temp directory . We would like a remote office to make use of our app over terminal server. However 1 user conflicts with another when making c:\temp\ tables using our application. It would take us several weeks to find all instances of tables created in C:\temp and recreate these directories in order to user terminal server. Has anyone ever needed to work around this problem before?
>
>Thanks in advance.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement