Hi Shawn,
You can setting a flag in an ApplicationStat e, e.g.
Application["fileAccess ed"]. In Application_Sta rt set it as false,
Application["fileAccess ed"] = false;
Only when it's false to allow to access and shift it to true and also set a
flag in Session. Once finish accessing the file to shift Application flag to
false and delete Session flag. Or in Session_End to check Session flag,
accordingly shift Application flag.
HTH
Elton Wang
"Shawn" wrote:
Well, the subject sais it all. What is the best approach to prevent this
from happening?
Thanks,
Shawn