How to find Cookies location

Posted by Sampath1750 under ASP.NET on 4/23/2014 | Points: 10 | Views : 467 | Status : [Member] | Replies : 0

I need cookies files location, searched in google i got below sollution

string strPath = Environment.GetFolderPath(Environment.SpecialFolder.Cookies);
this is working fine in test application, using above line "C:\Documents and Settings\My System name\Cookies"

but in my application it is showing that "C:\Documents and Settings\APP Pool name\ASPNET\Cookies" this is the wrong.

In test application it is working, but in my original application not working. What is the problem.

Thank you,


(No response found.)

Login to post response