Get in queue for file open

I

ivan.svaljek

I'm trying to create a procedure that will take a subset of data from
sql server and store in an xml file.
The problem is that the xml file is read on every session/page refresh,
so there is a possibility for collision, since there is a function in
global.asax that refreshes the xml file every x minutes.
Is it possible to check the file open status from global.asax and get
in queue for the next exclusive file open?
 
B

bruce barker \(sqlwork.com\)

good case for the singleton pattern.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,273
Latest member
DamonShoem

Latest Threads

Top