开发者

can webserver recognize webbrowser control vs internet explorer software when user load page?

can webserver recognize webbrowser control vs internet explorer software when user load page ?

if i load page through webbrowser control in c# i get "500 server error" when i do it in the internet ex开发者_C百科plorer software it work o.k.

why there is diffrent behevior and how i can manage that ?

thanking in advance.


That sounds like maybe it is reacting to a different cookie value or similar. WebBrowser is IE (to most purposes). A 500 is at the server, but WebBrowser is the client.

You might be able to hook WebBrowser to supply a different user-agent, but by default it should appear the same.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜