开发者

vb.net static variables on a web garden

开发者 https://www.devze.com 2023-01-12 04:03 出处:网络
Do vb.net static variab开发者_如何学Cles work on an IIS web garden?That depends on what you plan to use them for.

Do vb.net static variab开发者_如何学Cles work on an IIS web garden?


That depends on what you plan to use them for.

You have one set of static variables per process, so if you plan to use it for sharing data between servers, that won't work.

If you plan to use it for caching, it will work. All threads on the same server will share the cache, but you will have one cache per server.

0

精彩评论

暂无评论...
验证码 换一张
取 消