Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOPEN() with 12
Message
De
07/06/2002 17:17:41
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00666165
Message ID:
00666178
Vues:
14
>You might need a short delay between the fclose() and the erase to let the OS fully commit the close. Of course in that time the file might get opened by something else again...
>
>Can you just empty the content using fchsize()?

Well, what happens is that 4 transactions are initiated at the same time against the server. The first one see that the stylesheet, based on some conditions, need to be replaced. That is usually because the user is switching between IE and NS. However, as multiple transactions are initiated at the same time to the server (from the same user) - that happens when logging in UT - that may well be that during that process beacause as one will erase the file, at the same time, another transaction is already in the loop and tries to erase it again.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform