凡饼干都存储在系统? [英] Where cookies are stored in system?
问题描述
如果我使用 Response.Cookies [测试]值=你好;?
其中是存储在系统中的Cookie
If i use Response.Cookies["test"].Value ="Hi";
where are cookie stored in system?
我可以检查饼干在我的电脑[测试]
价值,因为Cookie是存储在文本格式。
Can i check Cookies["test"]
value in my pc because cookies are stored in text format.
我使用VS 2008的操作系统是Windows 7。
I am using VS 2008. Operating system is Windows 7.
我试图找到谷歌,但没有得到确切的答案。请帮助理清这个问题。
I have tried to find in Google but not getting the exact answer. Please help to sort out this problem.
推荐答案
IE浏览器和Windows保持饼干的位置:
IE and Windows keeps cookies here:
%AppData%\Microsoft\Windows\Cookies
指向同一个目录@ Sohnee的确实在Windows Visa和较新的,但他在Windows XP下不和更早版本,我 - 不
Points to the same directory as @Sohnee's does under Windows Visa and newer, but his doesn't under Windows XP and earlier, my - does.
也 Internet临时文件
可以包含一些饼干。
与此同时火狐保持在轮廓根饼干到SQLite数据库:
Meanwhile Firefox keeps cookies into SQLite database under profile root:
%AppData%\Mozilla\Firefox\Profiles\%FirefoxProfile%\cookies.sqlite
要读取的数据,需要使用任何SQLite的客户端连接到该数据库并执行一个查询:
To read the data you need to connect to that database using any SQLite client and execute next query:
select value
from moz_cookies
where name = 'test'
我做到了刚才使用试用的SQLite大师。而且不要忘了之前的连接尝试关闭所有正在运行的Firefoxes。
I did it just now using trial SQLite Maestro. And don't forget to close all running Firefoxes before connection attempt.
这篇关于凡饼干都存储在系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!