An ASPX page has an embedded SWF Object pulling settings from a config file. The web application needs to create and modify the setting files “on the fly”.
From past experience I’m aware that creating or modifying files inside a web application will kill the session\application objects as I assume it would cause a re-compile? As the SWF object cannot see server paths, I need the config files to remain inside the web application. Is there a way around this?
Not that it’s necessarily a best way to solve the problem, but it’s possible to partially disable the automated mechanism that based on changes of files with specific extensions in specific folders recycles the Application Domain (and kills your session).
You might want to have a look at this thread or for a more general explanation here.