Cookie容器或WebRequest [英] Cookie Container or WebRequest

查看:71
本文介绍了Cookie容器或WebRequest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

起初,我不得不为我的英语不好对不起.
我在Visual Studio 2008中遇到问题.
我想在vb.net中制作一个工具,该工具将使我登录到网站的连接中.我已经直接从网站通过getelement进行了登录. (www.wer-kennt-wen.de),并且效果很好.但是网站上有一个功能可以打开一个弹出窗口,并且我的网络浏览器报告没有cookie".现在,我上下搜索Google以获取有关此问题的帮助,但我发现没有任何解决方法.或我为此感到愚蠢...但我正在努力做得更好.因此,我尝试使用http get/post标头修复此问题……没有任何进一步的措施……比ive尝试制作一个cookie容器来处理从站点请求的2个cookie.相同的游戏...我的问题是我是个初学者,为此我需要类似手册的内容...但是我还没有找到可以使用的东西.也许您可以帮助我了解我该怎么做.

:confused::((

来自德国的最佳问候/科隆

Hi there,

at first i have to say sorry about my bad english.
I''ve got a problem in Visual Studio 2008.
I want to make a tool in vb.net that will log me in an hold the connecton to a website. I''ve made the login via getelement directly from the website. (www.wer-kennt-wen.de) and it works fine. But there is a funktion on the site that opens a popup window and my webbrowser reports "no cookie". Now I had seached Google up and down to get help with this problem and i found nothing that works. or im to stupid for it... but im trying do get better. So i had tryed to fix it with http get / post header... without any step further... than ive tryed to make a cookie container to handel the 2 cookies that are requested from the site. same game... My Problem is im a beginner and i need something like a manual for this... but i have not found something that works. Perhaps you can help me to understand how i have to do.

:confused: :((

best regards from Germany / Cologne

推荐答案

如果在浏览器中启用Cookie,则您的网站可能会正常工作.
但是,这只是临时解决方法.

您可能需要从多种方法中选择一种来管理客户端或服务器上网页的状态.
If you enable cookies on your browser your site might work.
However, this is just a temporary fix.

You might want to choose one amongst many ways to manage state on your client or your server for your web page.


这篇关于Cookie容器或WebRequest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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