使用vb.net阅读会话 - cookie [英] Reading sessions-cookies with vb.net

查看:95
本文介绍了使用vb.net阅读会话 - cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在文本框中放了一个cookie值

我需要webbrowser控件读取该cookie并使用它

所以如何在vb.net中这样做? br />
谢谢

解决方案

你没有把cookies放在文本框中:浏览器根据需要将它们本地存储在客户端上。



如果网页不存储它们 - 它们作为浏览器域相关信息的一部分存储。 br $> b $ b

我不确定你为什么要在这里做,但我很确定你需要再考虑一下,也许要检查一下这些东西是怎样的完成。

I have put a cookie value in textbox
and I need the webbrowser control read that cookie and use it
so how to do that in vb.net ?
Thank you

解决方案

You don't put cookies in textboxes: browsers store them locally on the client as they wish to.

They are not stored as part if the webpage - they are stored as part of the browser domain related information.

I'm not sure exactly why you want to do here, but I'm pretty sure that you need to think again and perhaps check up on how these things are normally done.


这篇关于使用vb.net阅读会话 - cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆