TPetersonFlorida
Programmer
Hopefully this is an easy question. I have some asp code that fires off and in it one of the things it does is this:
varText = varText & varMoreText
Application.Lock
Application("stuff"
= varText
Application.Unlock
My question is this: if user 1 fires off and locks the variable and user 2 fires off that same code and the variable is locked what happens to user 2? Does the code stop execution until it can lock the variable and write its stuff or does an error occur or does user 2s info just not get written to the variable?
Thanks in advance!!
varText = varText & varMoreText
Application.Lock
Application("stuff"
Application.Unlock
My question is this: if user 1 fires off and locks the variable and user 2 fires off that same code and the variable is locked what happens to user 2? Does the code stop execution until it can lock the variable and write its stuff or does an error occur or does user 2s info just not get written to the variable?
Thanks in advance!!