Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thin Client - temporary files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00474977
Message ID:
00478436
Vues:
20
We run VFP in a Citrix environment. I would definitely not hard code your temp directory as "C:\Windows\temp" as this may not be available on Thin Clients with different OS, such as some WinCE devices we run here.

GETENV('TEMP') works well for us as Terminal Server/Citrix does set this DOS variable for each user session. The temp directory is usually created on a hard drive native to the Server, and each user gets a randomly created subdirectory within that temp folder for his or her session. On a proper log out, Citrix will delete that folder, too, which is better house keeping than most of us programmers probably do as far as temp files.

Good luck with your project. If you have never written a VFP app on TS/Citrix, I can not stress the importance of a screen lock during a refresh. In our standard form, we have a MyRefresh() that we call to ensure the best performance for the Thin Clients:

WITH THISFORM
.LockScreen = .T.
.Refresh()
.LockScreen = .F.
ENDWITH


>Vlad
>
>Once again thanks for the info.
>We've now decided to put all the temp files in the Windows Temp folder as I'm told, that TS has a separate folder for each User - so this should work.
>
>Anna
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform