Home  >  Article  >  Backend Development  >  Analyze several situations of Asp.net 2.0 Session loss

Analyze several situations of Asp.net 2.0 Session loss

巴扎黑
巴扎黑Original
2017-04-30 14:36:541331browse

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 changes, the system will restart and the SESSION will be lost
(Changes here refer to creating new files, modifying file names, modifying file contents, deleting files, modifying directory names, and deleting 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 SESSION will be lost after restarting.
(Change here refers to modifying the directory name and deleting the directory)

5. When the process user name, for example: 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

The above is the detailed content of Analyze several situations of Asp.net 2.0 Session loss. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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