Is it unwise to have a static method be used for security validation in ASP.net?

There are some very important points that have more to do with the code that is not visible than the code shown in the question...

Each thread calling your static method has its own call stack. Every call to DoSomethingToString() has its own copy of the method's variables, completely independant of any other call to that method on another thread (unless you declare a variable as static, thats what you may be getting confused with - a static variable has only one instance that is accessible to multiple threads in your program).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions