Technote Details :: After working with the Remote File Explorer I get an error message
Issue
After I remove a folder from the server through the Remote File Explorer, or use a function of a server-side module, I get an error message saying that the session is corrupt:

Reason
This happens because the session variable that the KTML Remote File Explorer sets is not remembered after certain actions are performed.
This can happen for two reasons:
- You have set the privacy options in the browser, or in a firewall to a high level and no cookies can be saved.
- The ASP .Net web server is configured to store the session variables inside the current process. Whenever a change occurs within the application folder, the process is restarted, and thus the session variable is lost.
Solution
To solve this problem, you must:
- Configure your privacy settings to a lower level, or define an exception for the particular server that runs KTML.
- Use the ASP State Server to store session variables. This will ensure that the session variable is maintained whatever operation is performed. To set this mode of action, open the web.config file and add the following line of code:
<sessionState mode="StateServer" />