Several scenarios where the ASP. NET 2.0 Session was lost

Source: Internet
Author: User
1, session expiration self-fixed lost.

2. When modifying the Web. config system, restarting the SESSION will be lost.

3, the bin directory changes when the system will restart the session will be lost
(This change refers to the creation of new files, modification of filenames, modification of file contents, deletion of files, modification of directory names, deletion of directories) only when a new directory is created, the system does not restart,

4. The entire application directory is monitored by. NET and will cause the restart SESSION to be lost if there are any changes.
(The change here refers to modifying the directory name, deleting the directory)

5. A reboot is also caused when the process user name, for example: Network Service, changes permissions. Session missing

Note that if the system restarts, application, Cache, and so on will also be lost.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.