Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to start the asp.net status service

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "how to start the asp.net status service". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn how to start the asp.net status service.

Set mode= "StateServer" to start the ASP.NET status service

Locate the registry

"HKEY_LOCAL_MACHINE/SYSTEM/ControlSett001/Services/aspnet_state/Parameters" modifies AllowRemoteConnection=1,Port=42424

Note that these parameters are of decimal type, and these settings are necessary to access the remote ASP.NET status service. Advantages; stable, even if you turn off the WWW service, as long as you start the asp.net status service, the Session status still exists, do not believe you try. If you save the state on a non-local computer, you only need to modify the registry above and modify the stateConnectionString= "tcpip=RemoteIP:Remoteport". If the state is saved in the ASP.NET state service on the remote machine, then the Session state will expire immediately when the page is closed, no matter how long your state is saved.

You can take an exam if you don't believe it, ^-^.

At this point, I believe you have a deeper understanding of "how to start the asp.net status service". 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report