使用C#中的Webbrowser控件删除表单中的Cookie [英] Delete a cookie in form with a webbrowser control in c#
本文介绍了使用C#中的Webbrowser控件删除表单中的Cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我问一个问题,我还找不到解决办法.
我的情况是我有一个带有Web浏览器和一个按钮的窗口窗体.
当我单击按钮时,它应该删除一个我知道名称和站点的cookie.
有人可以帮助我创建一个删除特定Cookie的函数.
谢谢.
Hello all,
I ask you a question that I can not quite find a solution.
I am in a situation where I have a window form with inside a web browser and a button.
When I click the button it should remove a cookie that I know the name and the site.
Someone could help me to create a function to delete a specific cookie.
Thank you.
推荐答案
http://msdn.microsoft.com/en-us/library/ms178195.aspx [ ^ ]
http://www.java2s.com/Code/ASP/Session-Cookie/DeleteCookieC.htm [^ ]
http://msdn.microsoft.com/en-us/library/ms178195.aspx[^]
http://www.java2s.com/Code/ASP/Session-Cookie/DeleteCookieC.htm[^]
这篇关于使用C#中的Webbrowser控件删除表单中的Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文