Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Directory.Delete Method (String, Boolean) makes Sessions = null

$
0
0

I created a website using Asp.net and C#

When I use this method I have noticed that It closes a Session in my website that is very needed in my webpage.

Is there any reason to why it would do this an maybe how I can fix it? 

The file and the folder all deletes well, the problem is not in that its the fact that after a successful delete it just logs the user out of the website, meaning their login status is now empty 

Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>