新足迹

 找回密码
 注册

精华好帖回顾

· 爸爸菜谱 - 蟹粉豆腐 (2008-3-9) patrickzhu · 如果生如夏花 (2005-3-31) dangdelangdang
· 写给14个月大的Olivia (2008-5-9) audrydj · 新年快乐!除夕提车,Hyundai All New Santa Fe Elite 2.2D - 更新心得体验 (2013-2-10) 蒙面超人
Advertisement
Advertisement
查看: 1410|回复: 4

分分请教:什么是cookie, [复制链接]

发表于 2014-9-12 13:43 |显示全部楼层
此文章由 人参 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 人参 所有!转贴必须注明作者、出处和本声明,并保持内容完整
本人在电脑方面是脑白,在删除一些无用的文件时,常会被问:cookie要删除吗,请教各位达人:什么是cookie?它有什么作用?甜饼干还是咸饼干?
Advertisement
Advertisement

发表于 2014-9-12 14:23 |显示全部楼层
此文章由 noirlucifer 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 noirlucifer 所有!转贴必须注明作者、出处和本声明,并保持内容完整
百度百科的解释
Cookie是当你浏览某网站时,网站存储在你机器上的一个小文本文件,它记录了你的用户ID,密码、浏览过的网页、停留的时间等信息,当你再次来到该网站时,网站通过读取Cookie,得知你的相关信息,就可以做出相应的动作,如在页面显示欢迎你的标语,或者让你不用输入ID、密码就直接登录等。你可以在IE的“工具/Internet选项”的“常规”选项卡中,选择“设置/查看文件”,查看所有保存到你电脑里的Cookie。这些文件通常是以user@domain格式命名的,user是你的本地用户名,domain是所访问的网站的域名。如果你使用NetsCape浏览器,则存放在“C:\PROGRAMFILES\NETSCAPE\USERS\”里面,与IE不同的是,NETSCAPE是使用一个Cookie 文件记录所有网站的Cookies。
为了保证上网安全我们需要对Cookie进行适当设置。打开“工具/Internet选项”中的“隐私”选项卡(注意该设置只在IE6.0中存在,其他版本IE可以在“工具/Internet选项”的“安全”标签中单击“自定义级别”按钮,进行简单调整),调整Cookie的安全级别。通常情况,可以将滑块调整到“中高”或者“高”的位置。多数的论坛站点需要使用Cookie信息,如果你从来不去这些地方,可以将安全级调到“阻止所有Cookies”。如果只是为了禁止个别网站的Cookie,可以单击“编辑”按钮,将要屏蔽的网站添加到列表中。在“高级”按钮选项中,你可以对第一方Cookie和第三方的Cookie进行设置,第一方Cookie是你正在浏览的网站的Cookie,第三方Cookie非正在浏览的网站发给你的Cookie,通常要对第三方Cookie选择“拒绝”,如图1。你如果需要保存Cookie,可以使用IE的“导入导出”功能,打开“文件/导入导出”,按提示操作即可。
Cookie中的内容大多数经过了加密处理,因此在我们看来只是一些毫无意义的字母数字组合,只有服务器的CGI处理程序才知道它们真正的含义。通过一些软件我们可以查看到更多的内容,使用Cookie Pal软件查看到的Cookie信息,如图2所示。它为我们提供了Server、Expires、Name、value等选项的内容。其中,Server是存储Cookie的网站,Expires记录了Cookie的时间和生命期,Name和value字段则是具体的数据

评分

参与人数 1积分 +2 收起 理由
人参 + 2 你太有才了

查看全部评分

发表于 2014-9-12 14:25 来自手机 |显示全部楼层
此文章由 macro_micro_eco 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 macro_micro_eco 所有!转贴必须注明作者、出处和本声明,并保持内容完整
一般是甜的

发表于 2014-9-12 14:28 |显示全部楼层
此文章由 多情圣手 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 多情圣手 所有!转贴必须注明作者、出处和本声明,并保持内容完整
本帖最后由 多情圣手 于 2014-9-12 13:30 编辑



What is a cookie?

Cookies are usually small text files, given ID tags that are stored on your computer's browser directory or program data subfolders. Cookies are created when you use your browser to visit a website that uses cookies to keep track of your movements within the site, help you resume where you left off, remember your registered login, theme selection, preferences, and other customization functions.The website stores a corresponding file(with same ID tag)to the one they set in your browser and in this file they can track and keep information on your movements within the site and any information you may have voluntarily given while visiting the website, such as email address.




Cookies are often indispensable for websites that have huge databases, need logins, have customizable themes, other advanced features.

Cookies usually don't contain much information except for the url of the website that created the cookie, the duration of the cookie's abilities and effects, and a random number. Due to the little amount of information a cookie contains, it usually cannot be used to reveal your identity or personally identifying information.However, marketing is becoming increasingly sophisticated and cookies in some cases can be agressively used to create a profile of your surfing habits.

There are two types of cookies: session cookies and persistent cookies. Session cookies are created temporarily in your browser's subfolder while you are visiting a website. Once you leave the site, the session cookie is deleted. On the other hand, persistent cookie files remain in your browser's subfolder and are activated again once you visit the website that created that particular cookie. A persistent cookie remains in the browser's subfolder for the duration period set within the cookie's file.




More on Cookies

A cookie is a small file of letters and numbers downloaded on to your computer when you access certain websites. Like virtual door keys, cookies unlock a computer's memory and allow a website to recognise users when they return to a site by opening doors to different content or services. Like a key, a cookie itself does not contain information, but when it is read by a browser it can help a website improve the service delivered.

Cookie files are automatically lodged into the cookie file - the memory of your browser - and each one typically contains:
•The name of the server the cookie was sent from
•The lifetime of the cookie
•A value - usually a randomly generated unique number

The website server which sent the cookie uses this number to recognise you when you return to a site or browse from page to page. Only the server that sent a cookie can read, and therefore use, that cookie.

A cookie is a text-only string of information that a website transfers to the cookie file of the browser on the hard disk of computers so that the website can remember who you are.

A cookie will typically contain the name of the domain from which the cookie has come, the "lifetime" of the cookie, and a value, usually a randomly generated unique number. Two common types of cookies are used on most websites-session cookies, which are temporary cookies that remain in the cookie file of your browser until you leave the site, and persistent cookies, which remain in the cookie file of your browser for much longer (though how long will depend on the lifetime of the specific cookie).


Cookies can help a website to arrange content to match your preferred interests more quickly. Most major websites use cookies. Cookies cannot be used by themselves to identify you

评分

参与人数 1积分 +2 收起 理由
人参 + 2 你太有才了

查看全部评分

发表于 2014-9-12 18:18 |显示全部楼层
此文章由 人参 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 人参 所有!转贴必须注明作者、出处和本声明,并保持内容完整
多情圣手 发表于 2014-9-12 14:28
What is a cookie?

Cookies are usually small text files, given ID tags that are stored on your com ...

谢谢送上可爱的甜饼。
X+2>4

发表回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Advertisement
Advertisement
返回顶部