ITPUB论坛 » 开发工具和语言 » .NET软件架构与模式 » HttpWebRequest post 数据,怎么能加速?


2008-6-24 17:17 cool_lcs
HttpWebRequest post 数据,怎么能加速?

用 HttpWebRequest 模拟post 提交数据,对方的网站上有个限制,就是,提交后,等待10秒,提交成功,在这个10秒的过程中,你不能在次提交,有没有好地方法,能快点提交呢??

2008-6-24 17:23 cool_lcs
没有高手,给点意见

2008-6-25 12:33 gangyaocn
多线程或异步操作
如果对方有10秒的限制,那只能等着了

2008-6-25 13:43 cool_lcs
To gangyaocn

我用异步提交 为什么 弹出的消息框被锁定了,得等待 4-5秒才能释放

2008-6-25 16:43 gangyaocn
[quote]原帖由 [i]cool_lcs[/i] 于 2008-6-25 13:43 发表 [url=http://www.itpub.net/redirect.php?goto=findpost&pid=10767432&ptid=1011162][img]http://www.itpub.net/images/common/back.gif[/img][/url]
To gangyaocn

我用异步提交 为什么 弹出的消息框被锁定了,得等待 4-5秒才能释放 [/quote]

异步提交用回调(callback)获取结果吧,你弹出个窗口干啥?

页: [1]


Powered by ITPUB论坛