WebBroswer Cookie编辑 [英] WebBroswer Cookie Editing
本文介绍了WebBroswer Cookie编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好.加载页面后,我正在尝试编辑由Vb.net中的Web浏览器生成的cookie.任何想法如何做到这一点.预先感谢.
解决方案
编辑Cookie问题
ASP.NET中Cookie的基础
如果我误解了您的问题,请随时纠正我.
希望以上信息对您有所帮助.如果您还有其他顾虑,请告诉我.txtFind.Text = webFSLogin.Document.Cookie.ToString()
但是我现在不知道如何使我的Web浏览器使用经过编辑的新cookie
Cookie只是文本文件.您可以将其加载到TextBox中,进行更改,然后将其保存回来.完成后,您必须重新加载使用它的页面.
Hello Guys. I am trying to edit a cookie generated by a webbrowser in Vb.net after loading a page. Any ideas how to do it. Thanks in advance.
解决方案
Editing cookie problem
Basics of Cookies in ASP.NET
If i misunderstand your question, please feel free to correct me.
I hope the above information will be helpful. If you have more concerns, please let me know.
I have been able to get the cookie into a textbox using this code
txtFind.Text = webFSLogin.Document.Cookie.ToString()
But I don''t know now How to make my web browser use my new cookie which is edited
Cookies are just text files. You can load it into a TextBox, make your changes, then save it back out. You''ll have to reload the page that uses it when done.
这篇关于WebBroswer Cookie编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文