R
Roberto Rasto
I have a class method that can be executed by only one request at once.
For example if 2 user ask for a page that call this class method, the second
user must wait for the page of the first user end the execution.
This is because this method execute some code that can't be execute twice at
the same time.
I remember that in visual C there was a lock statement (or similar) that
prevent one code block to be execute twice.
How can I do it in asp.net (I use vb)?
Thanks a lot.
Roberto
For example if 2 user ask for a page that call this class method, the second
user must wait for the page of the first user end the execution.
This is because this method execute some code that can't be execute twice at
the same time.
I remember that in visual C there was a lock statement (or similar) that
prevent one code block to be execute twice.
How can I do it in asp.net (I use vb)?
Thanks a lot.
Roberto