Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Magic MEM file
Message
De
12/11/1998 00:30:59
 
 
À
11/11/1998 21:21:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00156821
Message ID:
00156857
Vues:
30
>I store some user preferences in .MEM files on the NT server. There are various good reasons for using a .mem file in this case.
>
>I had a problem with one user where the contents of the mem file were causing an error in my program so using Citrix server I remotely deleted the .mem file while the user concerned was logged off knowing that my program user module would recreate a "default" mem file when he logged in.
>
>Well, the mem file that got created was identical to the one I deleted!
>My program does a simple
>IF NOT FILE({username}.mem)
> SAVE TO ..... ALL LIKE ...
>ELSE
> RESTORE FROM...
>ENDIF
>
>If the OS is undeleting the file (say from cache) I would consider this a nasty OS bug. It's completely reproduceable. What do you think?

Any chance that he has a copy on the User machine which gets read at startup, and then is written to the NT system on shutdown? Just a thought ... doesn't really sound like an OS thing.

Bob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform