hello
i need a solution for 'directory.delete()'.when use this method coused clear session.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
ArshadPosted Sep 22, 2010, 5:14 AM
I tried with the below code under button click event.
Directory.CreateDirectory("C:\\Test");
Session["Name"] = "Arshad Khan";
Directory.Delete("C:\\Test");
Response.Redirect(@"Content\Default.aspx");
Created the directory and deleted, but its maintaing the session value. there is some other thing that you might be missing.
Regards,
Arshad
mohsen izediPosted Sep 22, 2010, 1:12 AM
Posted Sep 21, 2010, 8:08 AM
Can u be more elaborate as wat is ur issue is.....
With Regards
P.Krishna Prasad