I have a Silverlight application using the WCF service hosted in IIS. I use some aspects of ASP.NET.
I have the following folder structure for my application:
inetput
wwwroot
myapp
reports
{user-guid-folders}
report1.pdf
report2.pdf
App_Data (folder)
bin (folder)
Client_Bin (folder)
(various .aspx files, plus web.config, etc.)
The application dynamically generates reports and places them in a folder with a GUID for a name that is unique to the user. All of this works great.
However, when the user logs out, I cleaned and deleted the PDF files in their folder, and then deleted their GUID folder.
Deleting files works fine, but if I delete the folder, the application processes (which then deletes all sessions of other users), I get the Session_OnEnd event for each user session and the Application_OnEnd event. The following user request calls the entire application to restart.
, , GUID ( ), ? ?