Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOPEN() with 12
Message
From
07/06/2002 17:17:41
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00666165
Message ID:
00666178
Views:
13
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform