Webbrowser无法导航新页面 [英] Webbrowser can not navigate new page

查看:84
本文介绍了Webbrowser无法导航新页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用c#制作多标签网络浏览器.
链接是在开始时为浏览器设置的.当我尝试将链接之一重定向到另一页面时,我的浏览器仍然继续浏览旧页面.我在普通的IE浏览器上尝试使用它,它可以浏览新页面,但是我的应用程序没有注意到链接已更改.当我删除所有cookie时,看起来还可以,但我不想删除所有cookie. IE如何处理?


我尝试浏览此内容:

_webbrowser.Navigate("http://clixtrac.com/goto/?50239");

并定向到www.google.com

然后我将clixtrac链接的方向更改为www.yahoo.com

但它仍然进入"www.google.com"

当我尝试使用Internet Explorer导航链接时,它会导航到正确的网址"www.yahoo.com"

清理Cookie后,我的网络浏览器就可以毫无问题地转到"www.yahoo.com"

我想设置我的网络浏览器来检查此链接是否更新.

I try to make a multitab webbrowser with c#.
The links are set for browser at start. When i try to redirect one of the link to another page, my browser still continues to navigate old page. I try it on normal IE browser and it navigates new page but my application doesn''t notice that link is changed. When i delete all cookies it looks ok but i don''t wanna delete all cookies. How IE handle this?


I try to navigate this:

_webbrowser.Navigate("http://clixtrac.com/goto/?50239");

and it is directed to www.google.com

then i change direction of my clixtrac link to www.yahoo.com

but it stills goes to "www.google.com"

When i try to navigate link with Internet Explorer it navigates to right one, "www.yahoo.com"

After i clean cookies, there is no problem my webbrowser goes to "www.yahoo.com"

I want to set my webbrowser to check this link updated or not.

Regards.

推荐答案

0)如果导航到一个完全不同的页面,然后导航到更改的页面会发生什么?

1)您可以存档cookie,清除缓存,然后还原cookie吗?
0) What happens if you navigate to a completely different page, and then navigate to your changed page?

1) Could you archive the cookies, clear the cache, and then restore the cookies?


这篇关于Webbrowser无法导航新页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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