I have a Silverlight application using the hosted WCF service in IIS. I use some aspects of ASP.NET.
I have the following folder structure for my application:
Inputup wwwroot myapp reports {user-guid-folders} report1 .pdf report 2.pdf App_Data (folder) Bin (folder) Client_Bin (folder) (various .aspx files, plus web.config, etc)
The application dynamically generates reports and puts them in a unique name for the user For a folder with a GUID it all works fine.
However, when the user logs out, I was cleaning PDF files in my folder and then was removing their GUID folder.
, but if I delete the folder, the application is recycle (which again removes all other user sessions - I get one session and one event for every user's session, And an application_on event. The next user request causes the whole application to be restarted.
Therefore, when I fix it by removing the GUID folder (which was created by myself What is the reason for this? Is there any way to prevent this from happening?
Comments
Post a Comment