如何查找cookie文件位置 [英] How to find cookies file location

查看:760
本文介绍了如何查找cookie文件位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我需要cookies文件位置,在google搜索我得到以下解决方案



string strPath = Environment.GetFolderPath(Environment.SpecialFolder.Cookies);

这在测试应用程序中运行正常,使用上面的行 C:\Documents and Settings \ Myy name name \\ \\ Cookies



但在我的应用程序中显示 C:\Documents and Settings\APP Pool name\ASPNET \ Cookies 这是错误的。



在测试应用程序中,它正在运行,但在我的原始应用程序中无法正常工作。问题是什么?我应该更改任何web.config设置。



谢谢,

解决方案

我想你还没有输入正确的用户名和密码


实际上你想用cookies实现什么?


http://stackoverflow.com/questions/3801675/where-饼干-被存储-在系统

Hi,

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? shall i change any web.config settins.

Thank you,

解决方案

i think u have not entered correct username and password


Actually what you want to achieve with cookies?


http://stackoverflow.com/questions/3801675/where-cookies-are-stored-in-system


这篇关于如何查找cookie文件位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆