怎么删除或者清空cookie
解决方案 »
- MFC中只要使用RichEdit2.0控件,调试程序就是一闪而过,出不来界面。去掉就没问题。
- 请高手中的高手赐教
- RadioButton的问题!
- 网页版QQ是怎么实现的啊?
- 求助高人,有关AfxOleInit和CoInitializeEx使用
- 求教:请问如何在窗口重画时依旧保存原来的东西?
- 在Access数据库中如果有密码打开时将怎样打开?open()函数中用户名怎样处理?
- 总是说我没有定定义,但我确实已定义了呀
- 在网上看到网站上有vc++的控件,但是不知道怎么安装到机器上?????(高手请进入)-->>
- 如何在WebBrowser打开的网页链接后直接在WebBrowser打开而不是新弹出一个IE窗口来打开
- 请教一下移位运算符<< 和>>
- 如何判断系统是vista
Cookies store user-specific information such as names and passwords used to access web pages, and, in more general terms, are frequently used to store web page customization information. Though they enable us not to re-enter our own credentials, a private data stored in them can represent a security loophole.In fact, cookies are part of internet cache located at the %userprofile%\Local Settings\Temporary Internet Files folder, although Windows stores them physically in a separate location at %userprofile%\Cookies. Because the internet cache is managed by the WinInet library, FindFirstUrlCacheEntry/FindNextUrlCacheEntry locates cookies as well, and they can be deleted with DeleteUrlCacheEntry as other cache entries. To access previously stored cookies faster, Windows indexes cookie files in Cookies's index.dat file located at %userprofile%\Cookies. Even if cookies are deleted, the index.dat usually contains a list of cookies.Accordingly, the cleanup API provides the Delete_IECookies function, where bDeleteCookies and bDeleteCookiesIndex should be set depending on the user's choice. Be sure that Cookies' index.dat is not locked before setting bDeleteCookiesIndex to TRUE.http://www.codeproject.com/system/Cleanup_API.asp
if 包含cookie的文件名删除,也会吧?