Followhyperlink正在被召唤两次 [英] Followhyperlink is being called twice

查看:92
本文介绍了Followhyperlink正在被召唤两次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Access数据库,用于将数据发送到集成工具(CastIron)。集成工具由HTTP调用启动,因此在Access中我使用的命令:

Application.FollowHyperlink" http://10.20.6.24/getPVContract_DEV_310"

这会触发集成工具正如预期的那样,它正在调用该工具两次,这不是我所期待的。当我使用浏览器设置工具时,只进行一次调用。 FollowHyperlink命令是否存在已发送命令两次的已知错误?

我确实尝试使用FollowHyperlink命令转到微软网站或一些本地文档,看它是否会打开浏览器或文档两次,但它没有。

我正在使用Windows XP和Office 2003这两个版本都是最新的补丁


I have an Access database which I am using to send data to an integration tool (CastIron). The integration tool is started by a HTTP call so in Access I am using the command:

Application.FollowHyperlink "http://10.20.6.24/getPVContract_DEV_310"

This triggers the integration tool as expected but it is calling the tool twice, which is not what I am expecting. When i use a browser to set the tool going only one call is made. Is there a known bug with the FollowHyperlink command that sends the command twice?

I did try the FollowHyperlink command to go to Microsofts web site or some local documents to see if it would open the browser or documents twice but it did not.

I am using Windows XP and Office 2003 both of which are up to date with their patches


推荐答案

是的,它似乎确实这样做了!
在我的系统上,它发送两个HTTP标头稍有不同的请求,一个使用Accept-Language设置,另一个不使用。如果您可以破解目标URL处的代码(或者在您的情况下,配置目标系统)以忽略其中一个请求,这应该可以解决您的问题。

Yeah, it does seem to do this!
On my system, it sends two requests with slightly different HTTP headers, One with Accept-Language set and one without. If you can hack the code at the target URL, (or in your case, configure the target system) to ignore one of the requests, this should solve your problem.

Tim


这篇关于Followhyperlink正在被召唤两次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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