Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Citrix and foxpro tmp files.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00954282
Message ID:
00954384
Views:
13
Dean,
Being in a terminal based scenario is a bit peculiar because we don't normally design applications with the thought that more than one user will be using the same machine and drive. With that in mind, this is what I do (and just did in a large app that runs only on Terminal Server).

We have a launcher program that every user runs - this is a shortcut on their desktop. The launcher program checks a file in the master directory (we have a master directory that contains the current files for our app). If there is no user directory, or if there is a file (update.txt - with a datetimestamp in it), that is different or does not exist, we create the user a directory and the structure for the application is copied over to the users directory.

During the copy process, we create a config.fpw with the tmpfiles, editwork, etc commands for that user. Once the process of copying is complete, the exe that is in the user's personal directory is RUN.

The launcher program allows us to very easily update all clients - we use this same process on non-terminal setup, just have the user run the application exe (it checks the shared drive for the txt file), the exe copies the latest launcher over to the local machine, then runs the launcher and quits itself. The launcher is then able to process any updates - quit itself, and RUN the main exe.

We can copy files into our master application directory, and delete the update.txt file and all users that launch the program after will be updated with the latest files.

In the application we just put out - we excluded all the reports - and have a corresponding prg for each report that is excluded as well. This app is also completely sql server - no vfp tables - so each user must have their own dbc.


>After I create the unique folder, how do I get the application to use it as the temp folder?
>
>Thanks.
>
>
>>I would suggest doing it in your application... assign a unique folder where their temporary files are stored - your application can create it if it does not exist.
>>
>>
>>>Hello all
>>>
>>>We are using Citrix to have some of our customers login to our application and run our VFP8.0 application.
>>>
>>>The problem is, since using Citrix, each user that are logged in via Citrix is sharing the same Hardrive and accessing the same TEMP folder. We are finding that a user will step on someone else's *.tmp file, which is causing some problems.
>>>
>>>Is there a way to create unique temp folder for each user that logs in via Citrix?
>>>
>>>thanks
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform