In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what are the questions of ASP.NET Session State". Interested friends may wish to have a look at them. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "what are the questions of ASP.NET Session State?"
Q: is it true that in my production environment, when multiple programs call this service to store SESSION, their SESSION management is managed in the same process?
The A:ASP.NET Session State service should be a unified manager. It has nothing to do with the site. Just like iis admin manages multiple sites
Q: for example, I have two ASP.NET sites that are set up in web.config.
< sessionstate mode="stateserver" stateconnectionstring="tcpip=localhost:42424" timeout="60"/>Is it true that the management of session is managed by itself in the same sessoin state manager?
Is there any recycling in this process? if so, won't all the session be gone (instead of restarting the server)?
The A:timeout property sets the expiration time, and the expiration is cleared.
Q: is it necessary to set up machineKey? I now have only one sessionstate setting added to several websites, will it cause conflicts (multiple sites on one server)? And what is machineKey, what is its function, and where does the value in it come from?
Settings for A:machineKey:
< machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="SHA1" decryption="Auto" />Q: will this aspnet_stat.exe process be recycled like w3wp.exe? if it can be recycled, it will not be too bad. All of a sudden, all the session has not been pulled.
A: processes are executed in memory unless insufficient memory is recycled. Otherwise, session server is meaningless and is not stored like sqlserver session. This stops when the system service starts and stops, and of course you can end the process manually.
At this point, I believe you have a deeper understanding of "what are the questions of ASP.NET Session State?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.