R
Ron Vecchi
I have a single line file where the line will be read and updated each time
it is opened.
My question is I need to open it with a lock so noone else can read or write
to it untill the lock is released.
The problem seems that what If it is locked and A different request tries to
open it. From what I understand an exception will be thrown.
It is critical that each request reads the file. Is there an easy way to
make a request wait untill the file can be opened then read from it with out
generating the exception.
Thanks,
Ron Vecchi
it is opened.
My question is I need to open it with a lock so noone else can read or write
to it untill the lock is released.
The problem seems that what If it is locked and A different request tries to
open it. From what I understand an exception will be thrown.
It is critical that each request reads the file. Is there an easy way to
make a request wait untill the file can be opened then read from it with out
generating the exception.
Thanks,
Ron Vecchi