Home > Backend Development > C#.Net Tutorial > Several situations in which asp.net 2.0 Session is lost

Several situations in which asp.net 2.0 Session is lost

伊谢尔伦
Release: 2016-11-25 09:33:49
Original
1478 people have browsed it

1. The session is automatically lost when it expires.

2. When web.config is modified, the system will restart and the SESSION will be lost.

3. When the Bin directory is changed, the system will restart and the SESSION will be lost. (Changes here refer to creating new files, modifying file names, and modifying file contents. , delete files, modify directory names, delete directories) Only when creating a new directory, the system will not restart.

4. The entire application directory is monitored by .net. Once there are changes, the restart SESSION will be lost.

(The change here refers to modifying the directory name and deleting the directory)

5. When the process user name, such as: Network Service, changes the permissions, it will also cause a restart. SESSION lost

Note that if the system is restarted, Application, Cache, etc. will also be lost


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template