Last post Dec 20, 2016 03:04 AM by Zhi Lv - MSFT
Dec 19, 2016 05:05 AM|Mark72746|LINK
Dec 19, 2016 05:18 PM|PatriceSc|LINK
Yes, by definition a declaration found inside a method body is always called a "local variable declaration". Here it would rather depend on the cVSession class declaration. You may want to be more explicit about the problem you are trying to solve. For now
I would expect this function to always return an empty string as strReturn is never populated with somethjng else ????
Dec 19, 2016 08:39 PM|Mark72746|LINK
Dec 20, 2016 03:04 AM|Zhi Lv - MSFT|LINK
will the cVSession2 object be shared with other users (I don't want it to be)?
As PatriceSc said, by definition a declaration found inside a method body is always called a "local variable declaration". So, th ecVSession2 object will not be shared with other users. When an user call this web method, it will
create a new cVSession object.