Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 442949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:07:20+00:00 2026-05-12T21:07:20+00:00

We have an ASP.NET 2.0 website with an advanced configuration that is not catered

  • 0

We have an ASP.NET 2.0 website with an advanced configuration that is not catered for by a standard Web.config. Instead we’re storing the config in our own Xml schema in the /bin/ folder, and we have a singleton object which caches this config and uses a FileSystemWatcher to detect updates. This logic sits in a separate class library which is just used by the website.

Problem is, every time we edit this config, all user sessions are reset, as if we’d restarted the app pool in IIS! We’re using singletons and various other caching mechanisms which work just fine, but for some reason only the one with the FSW bombs out. Any ideas would be appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T21:07:21+00:00Added an answer on May 12, 2026 at 9:07 pm

    If your XML file is under your BIN folder then web application will automatically be RESTARTED when anything changes in that folder.

    The Web Application will also RESTART if Web.Config or Machine.Config are changed or edited.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.Net website that pushes image files to the client. Due to
We have an advanced webpage (ASP.NET, C#), and a application which needs to be
I have created a new ASP.NET MVC project using the MVC Project Template. According
In the current examples on ASP.NET MVC I see quite basic entities, with simple
I am about to begin development of a new website and have been doing
I am trying to deploy the Bugtracker.NET tool ( http://ifdefined.com/bugtrackernet.html ), which is a
I have finished developing my app and now I want to deploy it.. what
anyone know how to make work urlrewriter.net component on IIS 6 ? Actually i
We got strange error last days. ___doPostBack is undefined. We are building quite advanced

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.