Tuesday, 5 January 2010

Directory.Delete results in Session_End

I spent ages trying to work out why I was being logged out the web app I was building. Well it turns out that it was happening at the point where I was deleting a directory no longer needed for user uploads.

At this point it seems that a recompile is triggered, and therefore the session is lost. Now there's one to look out for!

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!